VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: mavievs on June 11, 2013, 10:01:56 AM

Title: Remove from cart not working
Post by: mavievs on June 11, 2013, 10:01:56 AM
Hi there,
I have a problem with "remove from cart" button. When I click it, I got message (the item was succesfully removed from your cart), but it still stays there. Is there any fix for this? thx
Title: Re: Remove from cart not working
Post by: jenkinhill on June 11, 2013, 10:19:34 AM
Possibly a JavaScript issue/conflict but without a url nobody can see. http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Remove from cart not working
Post by: mavievs on June 11, 2013, 10:51:35 AM
Thanks for fast reply.
here is URL: http://www.evs.sk/index.php/component/virtuemart/view/cart (http://www.evs.sk/index.php/component/virtuemart/view/cart)

or you can try http://www.evs.sk/milodar-na-evs (http://www.evs.sk/milodar-na-evs) and add to cart, and than remove (with clicking the icon).


VM version: 2.0.20b
Joomla version: 2.5.8
Title: Re: Remove from cart not working
Post by: jenkinhill on June 11, 2013, 12:20:28 PM
I keep getting this when looking at the site.
Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

But IE10's debugger picked up this JavaScript error which could be the problem.
SCRIPT5009: '$j' is undefined
milodar-na-evs, line 138 character 4

Rule out template related script errors by swtiching to Beez template. Disable any "non-standard" modules or plugins when doing this.
Title: Re: Remove from cart not working
Post by: mavievs on June 11, 2013, 21:34:52 PM
I really really do not know why are you getting this error, since I have no problem with those links.

Is there any other solution than switching template, since I really need that template to use.
thx
Title: Re: Remove from cart not working
Post by: nickon2 on June 11, 2013, 22:17:01 PM
I got a similar problem (already posted a bug report)
If you go to demo.multitec.gr eg
http://demo.multitec.gr/index.php?option=com_virtuemart&view=category&virtuemart_category_id=4
And you add 2 product you will see only the 1 product but if you go to the cart you will see 2 products
If you remove one product from the cart and then login or browse an other page at some point there are two products again in vm minicart /cart

Title: Re: Remove from cart not working
Post by: jenkinhill on June 11, 2013, 23:52:02 PM
mavievs switching templates is what we do to check that the VM installation is correct. If it works there then the problem is with your template's JavaScript or some script called by another module/plugin.

nickon2 you problem is different but you have hijacked this thread. You have either a problem with AJAX updating, as seen with some Rocketheme scripting or you have Joomla cacheing incorrectly set. It is not a VirtueMart bug.

Title: Re: Remove from cart not working
Post by: nickon2 on June 12, 2013, 00:12:19 AM
Never meant to hijack this thread, but since I have a problem simiral to mavievs I though I post in this threat.
Meanwhile I have disabled rokasearch and enabled joomla cache with no change.
Any advice would be welcome