Jump to content

How to get products from cart in jquery ?


hakeryk2

Recommended Posts

Hello,

Is there is any way to get actual content of cart in some kind of object or array with id_product, id_product_attribute, quantity, price etc in jquery?

Example:
Customer have 3 products added to cart, then script is checking if there is 2 products in cart from specific manufacturer then show something in page.

I know that it can be done with php but it would be nice to get access to content of cart through jquery.

Presta 1.6

 


 

Edited by hakeryk2 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...