News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

getting current user cart

Started by ydl, January 28, 2016, 11:53:38 AM

Previous topic - Next topic

ydl

I am trying to get the current user cart in the:
calculationh.php and / or padded.php

The goal is to check the current price in the cart + last half year purchases and comper it to a value which is stored in the shopper / user data

I used the function:
    $cart = VirtueMartCart::getCart(false);

BUT the $cart->products is empty (while in the cart module it is not empty!)

any idea how to get the 'cart's products' list?