// fixed small bugs
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
</script>
|
||||
<label for="available_for_order" class="t">{l s='available for order'}</label>
|
||||
<br class="clear" />
|
||||
<input style="float: left;" type="checkbox" name="show_price" id="show_price" value="1" {if $product->show_price}checked="checked"{/if} />
|
||||
<input style="float: left;" type="checkbox" name="show_price" id="show_price" value="1" {if $product->show_price}checked="checked"{/if} {if $product->available_for_order}disabled="disabled"{/if}/>
|
||||
<label for="show_price" class="t">{l s='show price'}</label>
|
||||
<br class="clear" />
|
||||
<input style="float: left;" type="checkbox" name="online_only" id="online_only" value="1" {if $product->online_only}checked="checked"{/if} />
|
||||
|
||||
@@ -1922,6 +1922,14 @@ class AdminProductsControllerCore extends AdminController
|
||||
$this->context->smarty->assign('toolbar_btn', $this->toolbar_btn);
|
||||
}
|
||||
|
||||
public function initToolbarTitle()
|
||||
{
|
||||
parent::initToolbarTitle();
|
||||
if ($product = $this->loadObject(true))
|
||||
if ((bool)$product->id)
|
||||
$this->toolbar_title .= ' ('.$product->name[$this->context->language->id].')';
|
||||
}
|
||||
|
||||
/**
|
||||
* initForm contains all necessary initialization needed for all tabs
|
||||
*
|
||||
|
||||
@@ -1664,6 +1664,7 @@ a.blue:hover {
|
||||
}
|
||||
.ac_over {
|
||||
background: #ECEADE;
|
||||
color:#585A69;
|
||||
}
|
||||
.button-translate {
|
||||
padding:0px;
|
||||
|
||||
+571
-583
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user