Skip to content

Commit

Permalink
Update docs/storefront/cart-checkout/guide/add-to-cart-url.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Dellangela <[email protected]>
  • Loading branch information
bc-traciporter and valentindellangela authored Dec 19, 2024
1 parent 215c512 commit b51d7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/storefront/cart-checkout/guide/add-to-cart-url.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Below is a table of common scenarios and example URLs.
| Add product to cart and set coupon code |`https://{{domain}}/cart.php?action=add&product_id={{id}}&couponcode={{code}}` |

<Callout type="info">
It is required to have a product ID within the URL to add a coupon code.
It is required to have a product ID or a sku within the URL to add a coupon code.
</Callout>

Once constructed, a URL can be inserted directly as text or as an HTML link:
Expand Down

0 comments on commit b51d7e3

Please sign in to comment.