Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - SportMart (SKU# FLEX-00019)

TOPIC: [SOLVED] REMOVE button doesn't work within the off-canvas shopping cart

[SOLVED] REMOVE button doesn't work within the off-canvas shopping cart 8 years 4 months ago #13420

The problem is: "REMOVE button doesn't work within the off-canvas shopping cart"

We have made a silly mistake in one of the core files.. To fix this problem, open this PHP file: /modules/mod_flexible_cart/mod_flexible_cart.php

2- find this line (line # 97):
url: '/vm3/sportmart/index.php?option=com_virtuemart&view=cart&task=delete',

3- replace it with this:
url: '<?php echo JURI::root( true ); ?>/index.php?option=com_virtuemart&view=cart&task=delete',

4- find this line (line # 103)
var loadAgain = jQuery.getJSON('/vm3/sportmart/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json',

5- replace it with this:
var loadAgain = jQuery.getJSON('<?php echo JURI::root( true ); ?>/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json',


That's all, you are all good to go.

Regards
Last Edit: 8 years 4 months ago by Support.
The administrator has disabled public write access.
Time to create page: 0.068 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo