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

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