News:

Looking for documentation? Take a look on our wiki

Main Menu

Modal popup (add to cart) not working with custom link

Started by Harry Bevers, December 01, 2013, 11:23:44 AM

Previous topic - Next topic

Harry Bevers

I use in my website custom links to sell items, with specific links for a product. For example:
/index.php?option=com_virtuemart&view=cart&task=add&virtuemart_product_id[]=3&virtuemart_category_id[]=3&quantity[]=1
When using the default add to cart button on the shop, the modal popup works fine. However with this link, a page is opened with the cart. I have added
<script src="/components/com_virtuemart/assets/js/vmprices.js" type="text/javascript"></script> to the <head> of my template.

Anybody any idea what I'm doing wrong?

Harry