Меняют ['price'] на ['wholesale_price']
Правильно.
Было
$this->_list[$i]['price'] = Tools::convertPrice($this->_list[$i]['price'], $this->context->currency, true, $this->context);
$this->_list[$i]['price_tmp'] = Product::getPriceStatic($this->_list[$i]['id_product'], true, null,
(int)Configuration::get('PS_PRICE_DISPLAY_PRECISION'), null, false, true, 1, true, null, null, null, $nothing, true, true,
$context);
сделал
$this->_list[$i]['wholesale_price'] = Tools::convertPrice($this->_list[$i]['wholesale_price'], $this->context->currency, true, $this->context);
$this->_list[$i]['price_tmp'] = Product::getPriceStatic($this->_list[$i]['id_product'], true, null,
(int)Configuration::get('PS_PRICE_DISPLAY_PRECISION'), null, false, true, 1, true, null, null, null, $nothing, true, true,
$context);
Как отображалась Базовая цена, так и отображается...
Что сделано не правильно?
Может у меня просто цены не правильно занесены?
(Изначально во всех товарах установлена оптовая цена и розничная цена, для проверки отображения в списке товаров так же добавил еще и значение цены за единицу, равную оптовой цене) Ничего не изменилось...