Skip to content

Commit 19a5748

Browse files
authored
Merge branch 'main' into migrate-services-topics
2 parents 8b7cbb7 + 38d9845 commit 19a5748

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

src/pages/starter-kit/checkout/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ For debugging applications created with the starter kit, refer to the [App Build
8888

8989
## Testing
9090

91-
The testing framework is in [Jest](https://jestjs.io) and execution is based on the [`aio` CLI](https://developer.adobe.com/runtime/docs/guides/tools/cli_install/).
91+
The testing framework is in [Jest](https://jestjs.io) and execution is based on the [`aio` CLI](https://developer.adobe.com/app-builder/docs/guides/runtime_guides/tools/cli-install).
9292

9393
Run unit tests for the UI and actions:
9494

src/pages/starter-kit/checkout/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You must install or have access to the following prerequisites to develop with t
2424
nvm install 22 && nvm use
2525
```
2626

27-
- [Adobe I/O CLI](https://developer.adobe.com/runtime/docs/guides/tools/cli_install/).
27+
- [Adobe I/O CLI](https://developer.adobe.com/app-builder/docs/guides/runtime_guides/tools/cli-install).
2828

2929
- Access to the [Adobe Developer Console](https://console.adobe.io/) with an App
3030
Builder license. If you do not have access to the Adobe Developer Console or App Builder, refer to [get access to App Builder](https://developer.adobe.com/app-builder/docs/overview/getting_access/#get-access-to-app-builder).

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,29 @@ Here's an example payload showing how the custom attributes from tax classes app
204204
}
205205
}
206206
```
207+
208+
## Propagate custom attributes of tax classes
209+
210+
The out-of-process tax module introduces support for assigning serialized custom attributes to tax classes. These attributes are then automatically associated with shopping cart data during cart creation and product addition. This allows for tax-related metadata to be included early in the checkout process and carried forward into subsequent operations.
211+
212+
### How it works
213+
214+
- **Customer Tax Class > Quote**:
215+
When a customer creates a shopping cart, any serialized custom attributes associated with the customer's tax class are copied to the `Quote` entity.
216+
217+
- **Product Tax Class > Quote Item**:
218+
When a product is added to the cart, serialized custom attributes from the product's tax class are copied to the corresponding `Quote Item`.
219+
220+
This ensures that both the `Quote` and each `Quote Item` contain tax-relevant custom data for further processing or integration.
221+
222+
### Quote to Order propagation
223+
224+
Once the customer places an order, all serialized custom attributes already present in the `Quote` and `Quote Item` entities are automatically propagated to the `Order` and `Order Item` entities, respectively.
225+
226+
This propagation ensures that tax class metadata—initially attached by customer and product associations—is consistently preserved throughout the entire checkout lifecycle. This allows external systems (such as tax calculation services) to access the tax class and its serialized custom attributes using:
227+
228+
- REST APIs
229+
- GraphQL queries
230+
- Event-driven integrations using Adobe Commerce Eventing
231+
232+
This consistency is critical for third-party integrations that rely on tax classification metadata for compliance, reporting, or invoicing purposes.

0 commit comments

Comments
 (0)