Hi guys, i have a problem... i changed my shop from hikashop to virtuemart:) Now my problem: I have a formular and after the fill out of it i want to put an articel in my cart. Now my question which helper do i have to load and whats to code to put something in the cart?
Sorry for my bad english:)
do no one nows how i can put something in in my cart?
The basic code it to get a cart and call add method:
$cart = VirtueMartCart::getCart();
$cart->add($virtuemart_product_ids);
See component/com_virtuemart/helpers/cart.php for details.