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

Extract from cart session loop in a template?

Started by hayleyv, August 28, 2012, 08:26:55 AM

Previous topic - Next topic

hayleyv

In my category view template I want to extract item info from the cart to work with.  I can do this to show the cart data:

print_r(unserialize($_SESSION['__vm']['vmcart']))

But how do I step through a loop and extract the product name for example into a variable?

Thanks

hayleyv

Still stuck with this.  Can anyone help?  I just need to be able to pull out something from the cart cookie into a variable.  Thanks in advance.