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:
Code:
$visitorsCart = $_SESSION['cart'];
which is an object and if you count() you'll find the number of products in cart:
Code:
$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?