A space to discuss online store customization, theme development, and Liquid templating.
Hi,
Spent most of the day today searching through the theme for a client to get rid of this pesky send to Facebook chat box. No matter where I look, I cannot find the script that runs to add it to each product, nor do I see an installed app causing it to show up. Any help would be appreciated.
Solved! Go to the solution
This is an accepted solution.
@hoffwebdev Thanks for sending the link via private message.
I've taken a look and that checkbox is being added to your page by an app called RecoverMyCart (recovermycart.com). Disabling the scripts associated with it's domains in Chrome Developer Tools (Network panel) prevents the "Send to Messenger" element from being added to the product page, as you can see below:
You could look at the app settings to see if this "Send to Messenger" function can be disabled, or otherwise you could uninstall the app.
Hopefully that solves your problem - if so please mark this as an accepted answer / solution!
Can you provide a link to the storefront where this is happening?
This is an accepted solution.
@hoffwebdev Thanks for sending the link via private message.
I've taken a look and that checkbox is being added to your page by an app called RecoverMyCart (recovermycart.com). Disabling the scripts associated with it's domains in Chrome Developer Tools (Network panel) prevents the "Send to Messenger" element from being added to the product page, as you can see below:
You could look at the app settings to see if this "Send to Messenger" function can be disabled, or otherwise you could uninstall the app.
Hopefully that solves your problem - if so please mark this as an accepted answer / solution!
Yes sir, that did it! Thanks for also showing me the solution, so I can troubleshoot next time.
You're welcome!
Here's a bit more info on how I narrowed down the issue:
To find scripts that were likely responsible, I first used the Inspect Element function in Chrome Developer Tools, and located the element in question. This allowed me to see a CSS class name on the div element that enclosed this element. I copied that class name, then performed a search in all files linked to the page in in dev tools (Ctrl + Shift + F).
This revealed a few mentions of that class name in those scripts, and when disabling those scrips, the button no longer appeared.
Hi Hoffwebdev,
Have you contacted the support team from Out of the Sandbox on this?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Hi Liam, I hadn't yet, response time said 3+ days so I just started here.