Skip to content

Commit 69a5201

Browse files
oshmyheliukjhadobe
andauthored
Apply suggestions from code review
Co-authored-by: Jared Hoover <98363870+jhadobe@users.noreply.github.com>
1 parent 6ed2488 commit 69a5201

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/starter-kit/checkout/use-cases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ You can register multiple webhooks for different shipping methods or shipping ca
172172

173173
### Remove shipping method
174174

175-
The `plugin.magento.out_of_process_shipping_methods.api.shipping_rate_repository.get_rates` webhook within adding shipping methods allows you to remove specific shipping methods from the list of available options
175+
The `plugin.magento.out_of_process_shipping_methods.api.shipping_rate_repository.get_rates` webhook allows you to remove specific shipping methods from the list of available options.
176176

177-
For example, if you are using the `flatrate` shipping method but certain conditions require it to be disallowed, you need to update your webhook response to mark the shipping method as removed. You can find an example in [`actions/shipping-methods.js`](https://github.com/adobe/commerce-checkout-starter-kit/blob/main/actions/shipping-methods/index.js).
177+
If you use the `flatrate` shipping method, but want to disable it, you must update your webhook response to mark the shipping method as removed. This example is demonstrated in [`actions/shipping-methods.js`](https://github.com/adobe/commerce-checkout-starter-kit/blob/main/actions/shipping-methods/index.js).
178178

179179
## Shipping methods: Payload
180180

0 commit comments

Comments
 (0)