DeliveryGroups unable to discount a single rate?

DeliveryGroups unable to discount a single rate?

gnikyt
Shopify Expert
4 0 4

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)