Error when trying to update theme-app-extension

Error when trying to update theme-app-extension

Oky
Shopify Partner
10 0 0

Hi,

 

I am trying to update my theme-app-extension, but when I run `shopify extension push`, I get this error: Unknown surface area: point_of_sale. It was working as late as last month so something has happened since. Does anyone have any solution?

 

Thank you.

Replies 4 (4)

clickrapt
Shopify Partner
31 3 8

Check if the POS section has been disabled.

If you find my reply useful kindly like it and If your problem is solved by my solution please mark as solved.
Oky
Shopify Partner
10 0 0

Hi,

 

Thanks for responding. Can you clarify what you mean by POS section has been disabled? For example, here is an example file:

<div class="socialphotos"></div>

{% schema %}
{
"name": "UGC Product Gallery",
"target": "section",
"settings": []
}
{% endschema %}

I also looked into the Shopify admin and ensure that my app is not set up for POS.

 

Thank you again.

clickrapt
Shopify Partner
31 3 8

POS is Point of Sale.

In the  "App setup" tab and scroll down to the "Point of sale" section. Enable the "Point of sale" feature by toggling the switch to the "On" position if its  not "On".

If you find my reply useful kindly like it and If your problem is solved by my solution please mark as solved.
Oky
Shopify Partner
10 0 0

Hi,

 

Thanks for the follow up. However, my app is not using POS so I don't want to turn that ON. Why does pushing an update to my theme extensions require that I turn ON POS?