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.

Is there any way to know if function is running on POS or web?

Solved

Is there any way to know if function is running on POS or web?

Sam9516
Shopify Partner
44 1 15

Merchants would like to selectively choose if they want to run the Shopify function on POS or only on Web. Is there anyway to achieve this?

Accepted Solution (1)

Nick_Wesselman
Shopify Staff
171 43 73

This is an accepted solution.

Hi @Sam9516 --

This is not possible today, but you can upvote this feature request and add a comment with your use case.

Nick Wesselman | 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 the Shopify Help Center or the Shopify Blog

View solution in original post

Reply 1 (1)

Nick_Wesselman
Shopify Staff
171 43 73

This is an accepted solution.

Hi @Sam9516 --

This is not possible today, but you can upvote this feature request and add a comment with your use case.

Nick Wesselman | 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 the Shopify Help Center or the Shopify Blog