Author Topic: [SOLVED] Add to cart popup (where is the code?)  (Read 214 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 429
[SOLVED] Add to cart popup (where is the code?)
« on: March 30, 2021, 21:51:24 pm »
Hello,

The code that creates a popup when the user clicks add to cart, in a product page. Where is it?
I know the contents of the popup are in padded.php, but I am looking for the inbetween JS/PHP code that handles the popup calling (fancybox).

Thanks!

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10140
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Add to cart popup (where is the code?)
« Reply #1 on: March 30, 2021, 22:22:26 pm »
components\com_virtuemart\assets\js\vmprices.js
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

EvanGR

  • Jr. Member
  • **
  • Posts: 429
Re: Add to cart popup (where is the code?)
« Reply #2 on: March 31, 2021, 11:56:00 am »
Thanks!

I actually found what I was looking for in modules\mod_virtuemart_cart\assets\js\update_cart.js

I don't know if this was specific to our template though.