docs: fix spelling and grammar (#13862)

Fixed various spelling errors and grammatical issues across multiple .mdx documentation files.
This commit is contained in:
MBLVD authored and GitHub committed 2025-10-27 10:48:59 +02:00
1 parent dbf8fb9bda
commit 799b57c396
47 files changed
+80 -80

No files matched your search

@@ -10,7 +10,7 @@ In this document, you’ll learn about the main concepts related to carts in Med
A cart is the selection of product variants that a customer intends to purchase. It is represented by the [Cart data model](/references/cart/models/Cart).
A cart holds informations about:
A cart holds information about:
- The items the customer wants to buy.
- The customer's shipping and billing addresses.
@@ -153,7 +153,7 @@ export default defineMiddlewares({
})
```
The `additional_data` parameter validation is customized using `defineMiddlewares`. In the routes middleware configuration object, the `additionalDataValidator` property accepts [Zod](https://zod.dev/) validaiton rules.
The `additional_data` parameter validation is customized using `defineMiddlewares`. In the routes middleware configuration object, the `additionalDataValidator` property accepts [Zod](https://zod.dev/) validation rules.
In the snippet above, you add a validation rule indicating that `custom_name` is a string that can be passed in the `additional_data` object.