keithg

get cart details in controller – prestashop 1.7

use PrestaShop\PrestaShop\Adapter\Cart\CartPresenter; ——————————————————————————————————————————————– $cart = Context::getContext()->cart; $data = (new CartPresenter)->present($cart); print_r($data);   cart products {assign var=products value=$cart->getProducts()}Read more …