Can we create an app proxy for cart page like https://shopifytestshop.myshopify.com/cart, where remote contents can displayed. What will be the values of Sub Path Prefix, Subpath and proxy url fields in case of cart page.
I have tried with values
Sub Path Prefix = a
Subpath = wishlist
Can someone help me out on this.
Sorry - I might have not made it clear enough - my suggestion was to ask on the group I linked too - there is often a more engaged community there than here.
I think you misunderstand the use of App Proxy. Let us say a customer is on the cart page as you say, here: https://shopifytestshop.myshopify.com/cart
On this page, you are free as a bird to call your special App Proxy. You can send it any data you want. The App Proxy can respond with Liquid, and or JSON, as an example. So you could return any kind of rich structured data, and use JS to insert that data, on the cart page, and make it look like you want.
You do not need anything special for this to happen. No paths, no URLS, just a regular App Proxy endpoint (you make that), and your JS to call it. You render the results.
@Crinch. Read the documentation Shopify has provided for App Proxy. That is all there is to it. Yes, it is lacking examples, but the flow is simple. You do not send data to the /cart template page. You do a callback to the App Proxy from that page.
|5 hours ago|