Skip to content

feat(cart): add cart links that fill the cart and open checkout - #225

Merged
Rl0007 merged 3 commits into
developfrom
feat/cart-permalinks
Oct 8, 2026
Merged

Rl0007 merged 3 commits into
developfrom
feat/cart-permalinks

Conversation

@Rl0007

@Rl0007 Rl0007 commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator
  1. A shop could not send a shopper a link that fills their cart. A campaign link landed on a product page, and the shopper had to pick sizes and quantities again.
  2. Now a link like /cart/<item code>:<qty>,<item code>:<qty>?discount=CODE fills the cart and opens checkout. The discount is applied, and checkout[email] / checkout[shipping_address][city] (and the other address fields) fill in empty checkout fields. UTM parameters carry through. When guest checkout is off, the link stops at the cart and continues to checkout after sign-in.
  3. To make one, fill a cart on the storefront and press Copy cart link on the cart or checkout page. The link carries the cart's lines and its discount code, so shoppers can share their cart too.

@Rl0007
Rl0007 merged commit 130bd3b into develop Oct 8, 2026
9 checks passed
@NagariaHussain

Copy link
Copy Markdown
Contributor

Have you seen any e-commerce platform showing copy cart link? 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants