Hi,
I need to change the VM cart session data using PHP.
Specifically I need to change the paymentCurrency data i the VM cart session.
Any guidelines how to do this?
I´m looking for a solution where I use JFactory to update the VM cart data in session, like this example:
$session =& JFactory::getSession();
$session->set( 'myvar', 'helloworld' );
So I basically need to use the above method to update "paymentCurrency" within the session.
Please advice.
I´m using VM 2.6
$cartSession = VirtueMartCart::getCart();
$cartSession->paymentCurrency = 0;
:)