Skip to content

Commit 68eaf4f

Browse files
Merge branch 'main' into rename-rule-promo-to-promo-builder
2 parents c739762 + bb15692 commit 68eaf4f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ const config = {
149149
defaultLocale: "en",
150150
locales: ["en"],
151151
},
152-
onBrokenLinks: "warn",
153-
onBrokenMarkdownLinks: "warn",
152+
onBrokenLinks: "ignore",
153+
onBrokenMarkdownLinks: "ignore",
154154

155155
// GitHub pages deployment config.
156156
// If you aren't using GitHub pages, you don't need these.

openapispecs/cartsorders/OpenAPISpec.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -776,9 +776,15 @@ paths:
776776
777777
### Merging Carts
778778
779-
A shopper can have more than one cart and decide to merge the carts into one cart. If a shopper adds items to a cart anonymously and then signs into their account as a registered user, the system asks them which cart to use. For example, a shopper has an existing cart with items `A`, `B` and `C` in it. The shopper returns later and adds items `D` and `E` while not signed in. The shopper then signs in and wants to merge the new cart with the existing cart. After the carts merge, the cart contains items `A`, `B`, `C`, `D` and `E`.
779+
A shopper can have multiple carts, and the system may automatically merge items from an anonymous cart into the shopper's registered cart when they sign in. For example, if a shopper has an existing cart with items `A`, `B` and `C`, and later adds items `D` and `E` while not signed in, the system can merge these carts when the shopper signs in. After the carts merge, the cart contains items `A`, `B`, `C`, `D` and `E`.
780780
781-
Any items that are duplicated from the anonymous cart to the registered cart are incremented by the quantity from the anonymous cart. For example, the shopper has an existing cart with items `A`, `B` and `C`, returns later and adds two more `A` items and one B item while not signed in. The shopper then signs in and wants to merge the new cart with the existing cart. The existing cart will contain three `A` items, two `B` items, and one `C` item.
781+
If any items are duplicated from the anonymous cart to the registered cart, their quantities are incremented accordingly. For example, if a shopper's existing cart with items `A`, `B` and `C`, and they later add two more `A` items and one `B` item while not signed in, the system will merge the carts when the shopper signs in. The existing cart will now contain three `A` items, two `B` items, and one `C` item.
782+
783+
:::note
784+
785+
When the system merges items from one cart into another cart, properties such as custom attributes, custom discounts, and payment intent ID will remain unchanged in the original cart.
786+
787+
:::
782788
783789
### Best Practices
784790

0 commit comments

Comments
 (0)