Im trying to connect my bot to shopify
# 🤝help
l
I'm adding the configured code to the body script, but the chat icon is not appearing
b
Try using defer, see if that works
l
Used the defer added this whole thing to the but icon wasent appearing
a
I'm not sure if that's the issue but there was a typo with the code you send. This appears to be working on my end :
l
This code works on my end too when I connect it to any website I have, but as soon as I added it to my friends shopify store it didn't work, we did all the instructions, put the code in the body tag The chat icon dosent work
b
Try defer for both scripts. Not sure if that will fix but worth a shot.
Oh you are missing "
l
oh yea i see what you mean
Discord seems to entirely remove the " so I think thats why it didnt work with my friend because I was sending it through discord
This is before I hit send
b
I am working on Shopify as well BTW
Are you doing any Shopify API calls?
l
?
I dont use shopify but I only wanted to add a bot to my friends shopify
b
Yeah I mean working on a bot for Shopify
l
Oh, no whats that?
b
l
Oh I get what you mean now, Thanks for this!
b
@best-cricket-48770 i am also utilising shopify API, what are you using it for?
b
@bland-fall-59874 At the moment, trying to retrieve order information
b
@best-cricket-48770 same here i got order fulfliment details to show to the visitor
a
I found a solution for that! If you have a botpress bot just copy you Pre-configured Embedded script. Then go to your shopify Settings. Go to Online Store. Click the three points and click Edit Code. On the left side click on "theme.liquid" and then paste it with a little bit of space before and after your code.
b
@ancient-country-78768 That sounds like you got the bot to work on a shopify page, but did you get BotPress to integrate with the Shopify API to read or write information from Shopify?
g
Yeah I got botpress to integrate with Shopify API to fetch info on orders, customers and whatnot
232 Views