URL Parameters Reference
A link can do more than open a page. With Stackless for FluentCart, the address itself can apply a coupon, pick the payment method, fix the currency, set a price or open checkout with products already in the cart. That’s how a newsletter button, a partner link or a pricing table sends buyers straight to the right checkout.
This page lists every parameter you can put in a link, what each one needs switched on, and how they combine. Each one links to its full guide.
| Parameter | What it does | Needs |
|---|---|---|
coupon | Applies a coupon code | Extra Enhancements, Coupon links |
paymethod | Limits checkout to the payment methods you name | Extra Enhancements, Payment method links |
paycurrency | Prices the cart in one currency and locks it | Multi-Currency Checkout |
gtfc_price | Sets the amount for a pay-what-you-like product | Pay What You Like |
fluent-cart=instant_checkout | Puts a product in the cart and opens checkout | FluentCart |
gtfc-buy | Opens checkout with a signed set of products and coupons | Buy Links |
#gtfc-checkout, gtfc_modal | Opens a link’s checkout in a modal | Modal Checkout |
utm_source and others | Records where the order came from | FluentCart |
Links That Change the Cart
coupon, paymethod and paycurrency work on any page of your store. The value is remembered until the visitor has a cart, then it’s applied to that cart, so a link to a blog post or a pricing page works as well as a link to checkout. gtfc_price is the exception and belongs on a checkout or Buy Now link.
coupon
Applies 1 FluentCart coupon. Type the code exactly as it’s saved, capitals included. It’s kept for a day in that browser, and FluentCart’s coupon rules decide whether it applies. Full guide: Apply a Coupon from a Link.
https://your-store.com/checkout/?coupon=WELCOME10
paymethod
Shows only the payment methods you name, by their key, such as gtfc_paypal or dodo. Separate up to 10 keys with commas, or use any to clear an earlier choice. A key your store doesn’t have, or a gateway that’s switched off, changes nothing. Full guide: Payment Method and Currency Links.
https://your-store.com/checkout/?paymethod=gtfc_paypal
paycurrency
Prices the cart in one of your enabled currencies, such as EUR or INR, and hides the currency switcher. A currency that isn’t enabled is ignored. Full guide: Payment Method and Currency Links.
https://your-store.com/pricing/?paycurrency=EUR
Use paycurrency in links you share. gtfc_currency is the name of the cookie the currency selector writes, and it isn’t meant for links.
gtfc_price
Sets the amount for a pay-what-you-like product when checkout opens, kept within the product’s minimum and maximum. With several of those products in the cart, it goes to the first. The buyer can still change it at checkout. Full guide: Let Buyers Pay What They Like.
https://your-store.com/checkout/?gtfc_price=25
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=1>fc_price=25
Links That Open Checkout
These put products in a cart and send the buyer to checkout in one click. Any parameter from the section above can ride along.
FluentCart Buy Now Link
This is FluentCart’s own format, the one its Buy Now buttons use. item_id is the variation ID, which you’ll find under FluentCart → Products → a product → Pricing, and quantity defaults to 1.
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=1
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=3&coupon=WELCOME10
- The link adds the product to a cart and redirects to checkout.
coupon,paymethod,paycurrency,gtfc_priceand campaign tags all survive that redirect. - A product that’s sold individually, such as a license, always goes in with a quantity of 1, whatever the link says.
gtfc-buy
A buy link holds several products, quantities and coupons, and it’s signed, so nobody can change what’s in it. Build it in Stackless → Buy Links rather than by hand. It opens checkout with a fresh cart and leaves the shopper’s own cart alone. Full guide: Share Buy Links That Open Checkout.
https://your-store.com/?gtfc-buy=12:2,15&coupon=LAUNCH&sig=...
- Editing the products, quantities or coupons breaks the signature, and the link returns an error instead of a checkout.
paymethodandpaycurrencyaren’t part of the signature, so you can add them to a buy link afterward.
#gtfc-checkout and gtfc_modal
With Modal Checkout on, these flags open a link’s checkout in a modal on the same page instead of leaving it. Put them on the link a buyer clicks, not on the page address. Full guide: Open Checkout in a Modal from Any Button.
#gtfc-checkoutat the end of a Buy Now or checkout link opens that checkout in the modal.#gtfc-checkout=12as a link on its own opens checkout for variation 12.?gtfc_modal=1in the link’s address does the same as the#gtfc-checkoutflag.
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=1#gtfc-checkout
#gtfc-checkout=12
Campaign Tags
FluentCart reads campaign tags itself and stores them with the order, so its reports can show which source, medium and campaign sold. It records utm_source, utm_medium, utm_campaign, utm_term, utm_content, utm_id and refer_url, plus ad click IDs such as gclid, fbclid and msclkid.
- Add them to any link on this page. They pass through the Buy Now redirect to checkout with the rest of the link.
- With FluentCart Optimizer on, a visit that carries campaign tags still loads FluentCart, so the source isn’t lost on pages the optimizer would otherwise skip.
Combine Them
Parameters combine in one link, in any order. This link puts 1 product in the cart, applies a coupon, offers only PayPal, prices the order in euros and tags the campaign:
https://your-store.com/?fluent-cart=instant_checkout&item_id=12&quantity=1&coupon=WELCOME10&paymethod=gtfc_paypal&paycurrency=EUR&utm_source=newsletter
Each part fails on its own. A coupon that’s expired is dropped, and the payment method and currency still apply, so one bad value never blocks checkout.
Links Stackless Writes for You
Some Stackless emails and pages carry their own parameters, such as cart recovery links, post-purchase offers, invoice and quote pages, back-in-stock confirmations and unsubscribe links. Each holds a key made for one customer. Share them as they’re sent, and don’t edit or build them by hand, because a changed key stops the link from working.
Limits
- Your page cache has to pass the request to WordPress. A cache that serves a stored copy for an address with these parameters drops them. Test a new link in a private window before you send it.
- Values are remembered per browser. A buyer who opens the link on 1 device and pays on another starts without them.
- Anyone with the link can use it. Put usage limits on the coupon, and use a buy link when the products in the cart must not change.