Reputation: 8096
I can't figure out how to show suggested products on the cart page of a Bigcommerce Stencil theme. I'm following the documentation, but it doesn't seem to be working. How do I do this correctly?
Currently, at the top of my templates/pages/cart.html
file, I have the following front-matter:
---
suggested_products:
limit: 10
---
Then, in the body of the same file, I am trying to print the suggested product data to see if it's working. The docs mention 2 attributes that seem to be identical, so I'm trying both because I don't know which is correct or if there is a difference. Either way, neither is working:
{{json cart.suggested_products}}
{{json cart.suggestive_content}}
Both of the statements print nothing. There should be suggested data because I added a product to cart and the url is:
http://localhost:3000/cart.php?suggest=573b3237853f4
What is the correct way to retrieve this content?
Upvotes: 0
Views: 606
Reputation: 1866
This is currently a bug that you should see resolved within the next 48 hours. It is labeled under MERC-722. The Stencil documentation is also being revised.
Upvotes: 0