[-] BO : Fix #PSFV-868 : Unity price can be set
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14815 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -2777,16 +2777,9 @@ class AdminProductsControllerCore extends AdminController
|
||||
$data->assign('ps_tax', Configuration::get('PS_TAX'));
|
||||
|
||||
$data->assign('country_display_tax_label', $this->context->country->display_tax_label);
|
||||
$unities = array(
|
||||
'PS_WEIGHT_UNIT' => Configuration::get('PS_WEIGHT_UNIT'),
|
||||
'PS_DISTANCE_UNIT' => Configuration::get('PS_DISTANCE_UNIT'),
|
||||
'PS_VOLUME_UNIT' => Configuration::get('PS_VOLUME_UNIT'),
|
||||
'PS_DIMENSION_UNIT' => Configuration::get('PS_DIMENSION_UNIT')
|
||||
);
|
||||
$data->assign(array(
|
||||
'currency', $this->context->currency,
|
||||
'product' => $product,
|
||||
'unities' => $unities,
|
||||
'token' => $this->token
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user