BigCommerce Stencil Debugging

I’ve been doing some work lately in BigCommerce for some friends. I’ve been working specifically on Stencil themes and have been looking for a way to tell what data was available to me in page I am working on. Keep reading below to find out how I debug my BigCommerce Stencil pages.

Debugging has become simple in Stencil themes because when you are running the site locally on http://localhost3000 you have access to certain debug tools that allows you to see what data model you have access to from the page you are on. To do this, simply add this flag to the end of any URL you are trying to access data for ?debug=context. Example:

http://localhost:3000/cart.php?debug=context

Leave a comment

Leave a Reply