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.

Re: UI Element Picker in App Extensions/Section Settings

UI Element Picker in App Extensions/Section Settings

htanipog
Shopify Partner
12 0 3

Is there a method(section setting) within the Shopify customization window that allows users to select an element (such as price) and retrieve its corresponding HTML class/id/xpath?

Replies 2 (2)

Liam
Community Manager
3108 344 911

Hi Htanipog,

 

There's no native method in the theme editor to view class names/ IDs etc, but you can use your browsers inspector tool to achieve this, (see this video). 

 

Hope this helps,

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

htanipog
Shopify Partner
12 0 3

Thanks for the response. The idea is to let merchant select a component and the app extension get its id/class/xpath. Is that still not possible?