Hello zenners,
I want to make a fast-command module on my store using ajax ;) .
Since now i managed to acces the visitor's cart from zen files using:
which is an object and if you count() you'll find the number of products in cart:Code:$visitorsCart = $_SESSION['cart'];
So that was the magic.Code:$numberOfProducts = count($_SESSION['cart']->get_products());
But i can't see $_SESSION['cart'] outside zen files...
What can i do for that... any developer here to guide me?![]()



