liquid - Can I connect to our site, via ajax, on behalf of the account owner and pull a booklet list? Shopify Theme app extension - App Block
I am creating an app block with theme app extension with a select menu for the online store. The goal is to allow users/merchants to install our app, add the app by using Add Block and then hit the select menu and select a booklet/pdf from our site to embed on their storefont in Shopify.В
I am currently using Shopify CLI 3.0 and have the app installed to our store with the select menu (on the right panel) but the values are hardcoded at the moment.
I wanted to know:В
- Can I connect to our site, via ajax, on behalf of the account owner and pull a booklet list?
- Can I dynamically update the drop-down menu with that booklet list?
I have the liquid file for the block looking like this:
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.