Jump to content

Client side add to cart


Recommended Posts

Hello. From what I saw adding products to cart is made by a HTTP request to website.com/?rand=1505901346166
with the following parameters.

ZFfKQyCoQy6RzJUWsl49Iw.png

What does token and ipa mean? and where do I get them?

What I'm looking for is the best way to add products to cart from client side, independent from the theme.

 

Thanks

 






 



 

 



 



 



 




 
This also updates the cart badge (that shows how many products are in cart)

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...