Discount redirect link composer
Stop coupon links from dumping shoppers on the wrong page. Build a validated owned-store /discount/…?redirect= URL and save presets locally.
Compose Shopify-style discount redirect links: https://{store}/discount/{code}?redirect={pathOrUrl}. Use a path like /collections/sale or a same-host absolute URL. Evidence pattern: community discount-in-URL threads (S265).
Link fields
Preview
https://demo-shop.myshopify.com/discount/SUMMER20?redirect=%2Fcollections%2Fsale
Encoded redirect param: %2Fcollections%2Fsale
Wrong destination vs corrected
Without ?redirect=, shoppers often land on the storefront default (home). Adding redirect=/collections/sale sends them to the intended page after the code is applied.
Wrong / vague destination
https://demo-shop.myshopify.com/discount/SUMMER20
Bare /discount/… — no chosen landing page.
Corrected with redirect
https://demo-shop.myshopify.com/discount/SUMMER20?redirect=%2Fcollections%2Fsale
Explicit ?redirect= destination after apply.
Saved presets
Persisted in this browser under localStorage key packiy.discount-redirect.v1.
No presets yet — save after composing a link you reuse.
This tool does not create or activate discount codes. Create the code in your store admin first. Whether the discount applies and where customers land depends on Shopify / storefront configuration.