i want to get the product list of cart in the Product details page. how to get it???
i need the products list in the cart at product description page.
i used the code
if (!class_exists('VirtueMartCart')) require(JPATH_VM_SITE . DS . 'helpers' . DS . 'cart.php');
$cart = VirtueMartCart::getCart();
print_r($cart)
But, the code is too complicated to get the list.
is there is any other way??
Inject standard VM cart module into product description page?
ONCE AGAIN: STOP SPAM BUTTON 'NEW THREAD' WITH THE SAME QUESTION!
Hello
The best is to insert the cart module so it looks like it is in the product description page.
You can also use a content plugin, and insert the tag in your product description. But then you have to do it for all products.