VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: teoxtrm on April 01, 2015, 15:45:27 PM

Title: add to cart button redirect
Post by: teoxtrm on April 01, 2015, 15:45:27 PM
Hello,

I don't know alot about php and i know even less js.
In vm when you hit add to cart you either get a popup or you det redirected in cart or checkout(if you disable modal popup in configuration).
What i want to achieve is when you hit add to cart to stay on the page that you are currently.
With a little diggin i think i can manage that by editing the vmprice.js file.
Anyone can help me with that ?
I have joomla version 3.4.1 and VM version 3.0.6.2
Hope i used the correct forum for the question.

Thanks in advance for your help.
Teo
Title: Re: add to cart button redirect
Post by: Milbo on April 02, 2015, 09:55:45 AM
no it is the redierect in cart controller line 236
Title: Re: add to cart button redirect
Post by: teoxtrm on April 02, 2015, 13:57:22 PM
Quote from: Milbo on April 02, 2015, 09:55:45 AM
no it is the redierect in cart controller line 236

thanks a lot for the help :)
mine was actually line 232dont know why !!
rly rly thanks !  working like a charm :D