App reviews, troubleshooting, and recommendations
I'm building a public app that adds a banner/widget on a product page. However, I need to display the widget for certain product types only. My understanding is that the best way to do it is to add the widget to the liquid template, and then conditionally hide it when it shouldn't be displayed.
Where/when should this code for condition check be run? Is there a guide or tutorial for something similar? Or relevant documentation?
Thanks for any help!
https://shopify.dev/apps/online-store/theme-app-extensions
https://shopify.dev/apps/online-store
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
Thanks!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024