News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

how to products list in the cart at Product details page

Started by spk063, August 23, 2013, 13:40:33 PM

Previous topic - Next topic

spk063

i want to get the product list of cart in the Product details page. how to get it???

spk063

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??

Maxim Pishnyak

#2
Inject standard VM cart module into product description page?

ONCE AGAIN: STOP SPAM BUTTON 'NEW THREAD' WITH THE SAME QUESTION!
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

alatak

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.