How can I create private Theme-app-extension blocks

krishnaraj2k01
Shopify Partner
2 0 0

I have one doubt about that in theme app ext

if I'm creating one block means it's showing to all the customers how can I get that control in my hand

lets have one example I have 3 customers customer A,B,C

I'm creating some custom work for customer A only but that block don't want to show to customer B and C

how can I handle this situation

Replies 2 (2)

Liam
Shopify Staff
2731 302 783

Hi Krishnaraj2k01,

 

I'm not 100% sure I fully understand what you're trying to achieve here - do you want specific theme app blocks to only appear for certain customers / buyers on the front end. Or do you want to create a custom app block that will only be able to be used by one specific merchant/ store? 

 

 

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

krishnaraj2k01
Shopify Partner
2 0 0

It's completely about theme app ext

https://shopify.dev/docs/apps/online-store/theme-app-extensions/extensions-framework

I have one Shopify app and I'm newly implementing theme app ext in my app 

one specific merchant only I'm doing some special features 
if I'm doing that in theme app ext it's showing to all the merchants I want to restrict that