issues rel. to 'Add to cart' modal popup and "continue shopping" link on cart p.

Started by Genius WebDesign, June 08, 2012, 15:52:27 PM

Previous topic - Next topic

Genius WebDesign

I have a few "problems/issues" related to the  'Add to cart' modal popup and the "continue shopping" link on the cart page..

1st thing: If I click the "X" / "close" button in the popup window I want the current page to refresh, like with F5, after closing the popup. As it is now it just closes the popup-window and the product info in the cart is not fully refreshed..

2nd thing:  If I click "continue shopping" I don't want it to take me to the category browse view, I want it to simply close down the popup and refresh the current page, just like with the "X"/"close" button..

3rd thing: In the cart view, when I click "continue shopping", I want it to go to the previous page, not the category page..


Regarding the 3rd problem I've found a thread on the Joomla forum which is related to changing the "continue shopping" link on the cart page. Unfortunately it seems to only apply to Virtuemart v.1.XXX and not v.2.xxx. Here is the thread:
http://forum.joomla.org/viewtopic.php?t=249374

According to this thread the following file needs to be altered: "shop.cart.php" (I cannot locate this file anywhere)
I did find a "$continue_link =" reference in the  "view.html.php" file located in /components/com_virtuemart/views/cart   - folder, around line 166, but when I try to change the code as mentioned in the thread I get a fatal error:
"Fatal error: Call to a member function url() on a non-object in "


I hope someone can help me in the right direction of achieving all of my issues listed here.

Brgds

parkeflyer

I'm looking for the exact same answer. Any help would be greatly appreciated. Thanks.