VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: p30yaran on November 19, 2018, 21:15:45 PM

Title: Add to cart botton redirect to cart dont show popup
Post by: p30yaran on November 19, 2018, 21:15:45 PM
hello, how are you
I use VirtueMart 3.0.12
I searched problem in the forum, but the result was not found
My problem is: (Add to cart botton redirect to cart - dont show popup)
when I click the add button to the cart. I do not need to open popup  , I want to move it to the shopping cart. (redirect to cart)
Note: I do not want to disable  Display modal popup upon 'Add to cart'  option from virtuemart - checkout settings. I want to solve the problem by change code(from php file).
Thanks for help
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: jenkinhill on November 19, 2018, 23:00:50 PM
VM3.0.12 is 3 years old and has security issues. An update is advised before sorting out your issue.
See  http://forum.virtuemart.net/index.php?topic=118683.0
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: p30yaran on November 21, 2018, 10:50:39 AM
Quote from: jenkinhill on November 19, 2018, 23:00:50 PM
VM3.0.12 is 3 years old and has security issues. An update is advised before sorting out your issue.
See  http://forum.virtuemart.net/index.php?topic=118683.0
hi
thanks for answering me
I can not upgrade for various reasons
If you can help me to solve the problem above
thanks
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: jenkinhill on November 21, 2018, 12:55:28 PM
Maybe if you provide a URL - I don't keep old versions around to test with...
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: Studio 42 on November 21, 2018, 18:40:06 PM
Why changing the code when the core permit to disable the popup ?
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: p30yaran on November 21, 2018, 21:36:17 PM
Quote from: Studio 42 on November 21, 2018, 18:40:06 PM
Why changing the code when the core permit to disable the popup ?
hello, thanks for replay
Why changing the code when the core permit to disable the popup ?
when disable the popup in core virtuemart :
change quantity in (- and +) and remove product in cart wont work
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: p30yaran on November 21, 2018, 21:38:42 PM
Quote from: jenkinhill on November 21, 2018, 12:55:28 PM
Maybe if you provide a URL - I don't keep old versions around to test with...
helo, thanks for replay
Because I'm repairing the site, I've been transferring it to localhost and unfortunately I can not link online website
Title: Re: Add to cart botton redirect to cart dont show popup
Post by: Studio 42 on November 21, 2018, 22:29:21 PM
You should solve the problem and not modify another code.
The quantity in cart use another script, so try to repair the cart javascript is a better way to process.
You can override the javascript in your template in the folder templates/YOURTEMPLATE/js
Simply copy original script inside this folder.
You can perhaps try a script from another release ? 3.0.18 javascript should work