Cannot continue shopping once I am on the shopping cart page

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Cannot continue shopping once I am on the shopping cart page

Postby kathy@.....com » Sat Aug 11, 2012 9:42 pm

If a customer is on the shopping cart page and decides to continue shopping, the links in the product menu generated by VM do not work.The customer cannot exit the shopping cart. (The links to pages in a separate menu not generated by VM work just fine.) I am using OPC 2.0.79 with Joomla 2.5.5 and VirtueMart 2.0.8c.
kathy@.....com
 
Posts: 2
Joined: Fri Aug 10, 2012 4:41 am

Re: Cannot continue shopping once I am on the shopping cart page

Postby admin » Fri Aug 31, 2012 7:10 pm

Hello Kathy,
right now OPC uses solely VM's code to decide which was the last visited category id for which the continue link is set. If you have a custom display of the product or the category, maybe you may want to set the category id within the flypage of the product with:

to get:
Code: Select all
$session = JFactory::getSession();
      return $session->get('vmlastvisitedcategoryid', 0, 'vm');

to set:
Code: Select all
$session = JFactory::getSession();
$session->set('vmlastvisitedcategoryid', 0, 'vm');  // where 0 is the category ID


In the next release (2.0.83) we will send the echo $continue_link; variable also to the basket.html.php so it shows properly on icetheme template and the link will be generated by OPCloader->getContinueLink(...

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2