News:

Support the VirtueMart project and become a member

Main Menu

Add to cart botton redirect to cart dont show popup

Started by p30yaran, November 19, 2018, 21:15:45 PM

Previous topic - Next topic

p30yaran

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

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

p30yaran

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

jenkinhill

Maybe if you provide a URL - I don't keep old versions around to test with...
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

Why changing the code when the core permit to disable the popup ?

p30yaran

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

p30yaran

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

Studio 42

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