Hello
I have a problem that I can't solve. On the first page of the VirtueMart store, when I click on the product, a pop-up opens that says continue shopping or display the shopping cart. But on the product collection page, when I click on the purchase button, nothing happens and that product is not added to my shopping cart and goes straight into the shopping cart
On the first page, when I right-click and see the element, there is an event option, but on the product collection page, when I right-click on the purchase button and see the element, there is no event option.
https://www.sanafoodmarket.com.... true
https://www.sanafoodmarket.com/breakfast... false
Thanks
because on that page u have a JS error
Uncaught TypeError: Virtuemart.product is not a function
that breaks the popup script
thanks a lot
How should I fix this error?
find where that snippet is rendered and find why the syntax is wrong