App reviews, troubleshooting, and recommendations
Hey guys, does anyone know how i can make the shopify inbox app only show up on my specific blog page and blog posts? At the moment its on every page but I have blogs behind a paywall and only want active members to have access to the chat feature. Thanks
Solved! Go to the solution
This is an accepted solution.
Hi,
If you want a quick workaround for this, you can add this code to the theme.liquid file of your theme, right before the closing of body tag: https://go.screenpal.com/watch/cZXOD5nVdu4
Here is the snippet:
<!-- Show the Shopify inbox only on blog page -->
<script>
if (!['blog', 'article'].includes(ShopifyAnalytics.meta.page.pageType)) {
const style = document.createElement('style');
style.innerHTML = `#shopify-chat {display: none}`;
document.head.appendChild(style);
}
</script>
<!-- Show the Shopify inbox only on blog page END -->
Hope that this helps.
Regards,
Avada team
Hey @amoss-merch
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
This is an accepted solution.
Hi,
If you want a quick workaround for this, you can add this code to the theme.liquid file of your theme, right before the closing of body tag: https://go.screenpal.com/watch/cZXOD5nVdu4
Here is the snippet:
<!-- Show the Shopify inbox only on blog page -->
<script>
if (!['blog', 'article'].includes(ShopifyAnalytics.meta.page.pageType)) {
const style = document.createElement('style');
style.innerHTML = `#shopify-chat {display: none}`;
document.head.appendChild(style);
}
</script>
<!-- Show the Shopify inbox only on blog page END -->
Hope that this helps.
Regards,
Avada team
thank you, that worked perfectly
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024