Home Ask Login Register

Developers Planet

Your answer is one click away!

FoPi February 2016

Bigcommerce cart content in template

I would like to get the visitors cart content, like quantity, product name, product sku, product price, etc., in a template to work with it via JavaScript because I would like to manage it with a 3rd party software.

Is there any way to do this?


Alyss February 2016

It can be done via Stencil in a more straightforward way, but there are no variables for the cart contents outside of cart.html. You could request query the contents of the cart page to build a cart display on alternative pages (similar to the theme goodvibes).

Post Status

Asked in February 2016
Viewed 1,768 times
Voted 6
Answered 1 times


Leave an answer

Quote of the day: live life