21 h.
dans AdminProductsController.php
a la place de
protected function addCarriers($product = null)
jai mis çà a l’aire de fonctionne bon ?
protected function addCarriers($product = null)
{
if (!isset($product)) {
$product = new Product((int)Tools::getValue('id_product'));
}
if (!Validate::isLoadedObject($product)) {
return;
}
selectedCarriers,
if (!Tools::getIsset('selectedCarriers')) {
return;
}
$carriers = Tools::getValue('selectedCarriers');
if (!is_array($carriers)) {
$carriers = array();
a la place de
protected function addCarriers($product = null)
jai mis çà a l’aire de fonctionne bon ?
protected function addCarriers($product = null)
{
if (!isset($product)) {
$product = new Product((int)Tools::getValue('id_product'));
}
if (!Validate::isLoadedObject($product)) {
return;
}
selectedCarriers,
if (!Tools::getIsset('selectedCarriers')) {
return;
}
$carriers = Tools::getValue('selectedCarriers');
if (!is_array($carriers)) {
$carriers = array();
2 h.