https://discord.gg/botpress logo
#🤝help
Im trying to connect my bot to shopify
# 🤝help
l

lively-hamburger-35615

07/09/2023, 12:45 PM
I'm adding the configured code to the body script, but the chat icon is not appearing
b

best-cricket-48770

07/10/2023, 3:57 AM
Try using defer, see if that works
l

lively-hamburger-35615

07/10/2023, 2:55 PM
Used the defer added this whole thing to the but icon wasent appearing
a

acceptable-gold-88171

07/10/2023, 3:19 PM
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

lively-hamburger-35615

07/10/2023, 3:44 PM
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

best-cricket-48770

07/10/2023, 3:44 PM
Try defer for both scripts. Not sure if that will fix but worth a shot.
Oh you are missing "
l

lively-hamburger-35615

07/10/2023, 3:46 PM
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

best-cricket-48770

07/10/2023, 3:48 PM
I am working on Shopify as well BTW
Are you doing any Shopify API calls?
l

lively-hamburger-35615

07/10/2023, 3:48 PM
?
I dont use shopify but I only wanted to add a bot to my friends shopify
b

best-cricket-48770

07/10/2023, 3:49 PM
Yeah I mean working on a bot for Shopify
l

lively-hamburger-35615

07/10/2023, 3:49 PM
Oh, no whats that?
b

best-cricket-48770

07/10/2023, 3:50 PM
l

lively-hamburger-35615

07/10/2023, 3:53 PM
Oh I get what you mean now, Thanks for this!
b

bland-fall-59874

07/10/2023, 4:59 PM
@best-cricket-48770 i am also utilising shopify API, what are you using it for?
b

best-cricket-48770

07/10/2023, 11:40 PM
@bland-fall-59874 At the moment, trying to retrieve order information
b

bland-fall-59874

07/11/2023, 11:29 AM
@best-cricket-48770 same here i got order fulfliment details to show to the visitor
a

ancient-country-78768

07/23/2023, 7:22 PM
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

best-cricket-48770

07/23/2023, 8:59 PM
@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

gentle-shampoo-88367

07/24/2023, 6:58 AM
Yeah I got botpress to integrate with Shopify API to fetch info on orders, customers and whatnot
173 Views