VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: EvanGR on March 30, 2021, 21:51:24 pm

Title: [SOLVED] Add to cart popup (where is the code?)
Post by: EvanGR 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!
Title: Re: Add to cart popup (where is the code?)
Post by: GJC Web Design on March 30, 2021, 22:22:26 pm
components\com_virtuemart\assets\js\vmprices.js
Title: Re: Add to cart popup (where is the code?)
Post by: EvanGR 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.