How to add multiple discount codes in a cart-permalink?

Topic summary

A developer is attempting to apply multiple discount codes simultaneously using cart permalinks but encountering issues with the current implementation.

Problem:

  • Tried using the format &discount=DISCOUNT1,DISCOUNT2 in the cart permalink URL
  • Only one discount code applies instead of both

Current Status:

  • The question remains unanswered
  • Developer has referenced Shopify’s cart permalink documentation for guidance
  • No solution or workaround has been provided yet

This appears to be a technical limitation or requires a different syntax/approach than the comma-separated format attempted.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

How can I add more than one discount in a cart-permalink? I’ve tried adding the following “&discount=DISCOUNT1,DISCOUNT2” but it will not add them both.

reference documentation: https://shopify.dev/apps/channels/cart-permalinks/cart-permalinks#step-4-apply-discounts-optional

1 Like