New Zenner
- Join Date:
- Jul 2008
- Posts:
- 14
- Plugin Contributions:
- 0
acces visitor's cart outside zen....
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:
$visitorsCart = $_SESSION['cart'];
which is an object and if you count() you'll find the number of products in cart:
$numberOfProducts = count($_SESSION['cart']->get_products());
So that was the magic.
But i can't see $_SESSION['cart'] outside zen files...
What can i do for that... any developer here to guide me? :blush: