A merchant uses my app and they feedback that the order discount based on the shipping address doesn’t work. I checked and Graphql doesn’t return deliveryGroups.
@Liam-Shopify could you please help me check it?
A merchant uses my app and they feedback that the order discount based on the shipping address doesn’t work. I checked and Graphql doesn’t return deliveryGroups.
@Liam-Shopify could you please help me check it?
Hi @Mankiw
Is the issue that you’re trying to apply an order discount based on the shipping address, but the GraphQL response does not return any deliveryGroups, even after filling in the shipping address?
Are you certain that the shop has shipping rates configured for the destination? Usuall if you’re seeing "deliveryGroups": [] it means there’s an incomplete address or that there’s no shipping rates configured for the destination.
I completely filled the shipping address but it still returns an empty array
I checked more and determine it just occurs with cart_lines_discounts_generate_run.graphql, cart_delivery_options_discounts_generate_run.graphql works properly
Oh i know the issue, it does not return with Order and Product discount: Discount Function API