Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Plugin on Cart page

Plugin on Cart page

Martin-NZPost
Tourist
11 1 2

Hi
We are in the process of recreating the functionality of an existing app to be able to handle Online Store 2.0 stores.
Our current app has a dropdown on the cart page which loads address suggestions and populates the selected address on the check out page. The way that it performs this is, is by using a JQuery script to crawl the Cart page and finding corresponding form or table tag elements, and inject the plugin at the beginning or end of the tag, depending on the theme.
This seems to be quite a hacky solution, which might not necessarily work for Online 2.0 stores anyway, so I'd like to ask the community to suggest a better solution for us.
From my research, I have seen several potential Shopify feature that can manipulate the page
1. theme extensions
2. app themes
3. page api
4. pos links

Am I correct in thinking that, a mixture of using theme extensions and app themes to display the app would work, and to use page api to populate?

Thanks

Replies 0 (0)