[-] BO : fix change maximum character for short description
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12116 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -185,7 +185,7 @@
|
|||||||
languages=$languages
|
languages=$languages
|
||||||
input_name='description_short'
|
input_name='description_short'
|
||||||
input_value=$product->description_short
|
input_value=$product->description_short
|
||||||
max=400}
|
max=$PS_PRODUCT_SHORT_DESC_LIMIT}
|
||||||
|
|
||||||
<p class="clear"></p>
|
<p class="clear"></p>
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@@ -3169,6 +3169,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
$data->assign('currency', $currency);
|
$data->assign('currency', $currency);
|
||||||
$data->assign($this->tpl_form_vars);
|
$data->assign($this->tpl_form_vars);
|
||||||
$data->assign('link', $this->context->link);
|
$data->assign('link', $this->context->link);
|
||||||
|
$data->assign('PS_PRODUCT_SHORT_DESC_LIMIT', Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT') ? Configuration::get('PS_PRODUCT_SHORT_DESC_LIMIT') : 400);
|
||||||
$this->tpl_form_vars['product'] = $product;
|
$this->tpl_form_vars['product'] = $product;
|
||||||
$this->tpl_form_vars['custom_form'] = $this->context->smarty->createTemplate($this->tpl_form, $data)->fetch();
|
$this->tpl_form_vars['custom_form'] = $this->context->smarty->createTemplate($this->tpl_form, $data)->fetch();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user