News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with the VirtueMart purchase button

Started by reza_mirzapour2002, August 19, 2020, 22:59:15 PM

Previous topic - Next topic

reza_mirzapour2002

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

GJC Web Design

because on that page u have a JS error

Uncaught TypeError: Virtuemart.product is not a function

that breaks the popup script

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

reza_mirzapour2002


GJC Web Design

find where that snippet is rendered and find why the syntax is wrong
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation