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.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

DeliveryGroups unable to discount a single rate?

DeliveryGroups unable to discount a single rate?

gnikyt
Shopify Partner
4 0 6

We are migrating a mass of scripts and custom checkout functionality over to Checkout UI/Functions/Customizations, etc.

 

One issue we are having is discounting shipping rates. With Cart Scripts, this was easy to do. With Discounting, we are seeing all shipping rates come in as one single group under `deliveryGroups`.

 

The problem we have is we need to discount some of the rates by 100%, and not others (differences in ground and air shipping). We appear to not be able to target single rates, only a whole group.

 

Whats a solution to this?

Replies 0 (0)