F12 Labs
EN
Contact
DiscountlyInstall on Shopify
Documentation

Discountly documentation / Manage discounts

Settings

Discountly's Settings page. Check whether Shopify is running the draft order validation checkout rule and turn it on in one click, set how long open carts reuse your gift and Buy X get Y rules, and find staff access.

Discountly's Settings page has three parts: staff access, whether the draft order check is running, and one storefront setting. Everything else is set on each discount.

To open it, click the gear button at the top of the Discounts page.

Access control

Only the store's Owner sees this section. Manage staff access opens the Access page, where you give staff a role. See Staff access and roles.

Draft order validation

Discountly's draft order tools can stop staff completing a draft order until they've applied (or skipped) the Discountly discounts it qualifies for. That check is a Shopify checkout rule, Discountly draft order validation, and Shopify only runs it once the rule is turned on. This section tells you whether it is, and turns it on for you.

The check only affects draft orders. Customers checking out on your storefront aren't affected.

Status

Status Meaning
On The checkout rule exists and is turned on. Drafts with discounts waiting can't be completed
Off The rule exists but is turned off. A banner says "The checkout rule exists but is turned off, so draft orders can be completed without applying discounts."
Not set up There's no rule yet. A banner says "The checkout rule hasn't been set up, so draft orders can be completed without applying discounts."
Unknown Discountly couldn't read your checkout rules. See Status says Unknown

If you have more than one rule for Discountly's check, the status is On when any of them is on.

Turn it on

  1. In Discountly, open Settings.
  2. Under Draft order validation, click Turn on.
  3. A message confirms "Draft order validation turned on", and the status changes to On.

If the rule was Off, Discountly turns your existing rule back on. If it was Not set up, Discountly creates it, named Discountly draft order validation, and turns it on.

Turn on is only shown to staff with the Admin role or above, because a checkout rule can stop orders being completed. Other staff see "Ask an admin to turn it on." See Staff access and roles.

Afterwards, set the messages staff and customers see when a draft is blocked: click Open checkout rules, open Discountly draft order validation and fill in Draft order block messages. See The messages.

Turn it off

Discountly has no button to turn the rule off. Click Open checkout rules to go to Settings → Checkout in Shopify, open the rule under Checkout rules and turn it off there (Shopify: checkout customization). Discountly's status shows Off the next time you open Settings.

Staff can also override the check on a single draft. Shopify: "These rules also apply by default to draft orders, but you have the option to override all validation rules on a draft order before completing it." (Checkout customization)

Status says Unknown

  • With a banner saying the app doesn't have permission to read checkout rules yet. Reading and turning on checkout rules is a newer permission for Discountly. If your store installed it before, Shopify asks you to approve the update. Approve it when Shopify prompts you (it may show when you open Discountly from Apps), then reload Settings.
  • With no banner. Shopify didn't answer. Reload the page. If it stays Unknown, check Settings → Checkout → Checkout rules in Shopify yourself.

If Turn on fails, the message starts "Couldn't turn on draft order validation:" followed by Shopify's reason. You can always add the rule by hand: see Set it up.

Rules cache duration

Under Storefront performance. The cart embed reads your live free gift and Buy X get Y discounts from a short cache, so it can add gifts to carts quickly without asking Discountly on every change. This setting is how long a cart reuses that list before fetching it again.

Option
5 seconds (freshest)
15 seconds
30 seconds
1 minute (recommended) The default
2 minutes
5 minutes (best performance)

A longer cache means fewer requests and a faster cart. The cost: after you change, start or stop a gift or Buy X get Y discount, a cart that's already open can take this long to notice. Reloading the page always fetches the latest list.

It only affects gift and Buy X get Y discounts in the cart embed. Discount amounts are always worked out live at checkout and are never cached, so customers never pay a stale price.

Pick a value and click Save. A message confirms "Settings saved".

Troubleshooting

The status is On, but a draft with discounts waiting was completed. Staff can override checkout rules on a draft before completing it (see Turn it off). Also check the discount was one Discountly listed on the draft: see Discounts on draft orders.

I don't see Turn on. You need the Admin role or above. If you're an Admin and still don't see it, the status is already On or Unknown.

A change to a gift discount isn't showing in my cart. Wait for the cache duration, or reload the page. See Cart embed.