Delivery Customization - Differentiate between Sales Channels

Delivery Customization - Differentiate between Sales Channels

KyleReemaN
Shopify Partner
1 0 0

I have a delivery customization that hides a custom delivery option but I only want to hide the option in the Online Store and not in the Shopify POS app. Here is my Input query:

 

 

query RunInput {
    cart {
        deliveryGroups {
            deliveryOptions {
                handle
                title
            }
        }
    }
}

 

 

 

 

and in the documentation I dont see any field or connection where I could get the salesChannel or a way to disable this customization for the shopify POS app.

 

Is there any way to retrieve the salesChannel in the current extension or can I configure the app (that has the extension) that only the Online Store is using it?

Replies 0 (0)