Pular para o conteúdo

Which discounts are published

Este conteúdo não está disponível em sua língua ainda.

Only discounts that are live right now are in the data. Then:

DiscountIn the data?
A DiscountOS automatic discountYes, unless you tag it dos:unpublish
A DiscountOS discount codeOnly when you tag it dos:publish
Shopify’s own discount, automatic or codeOnly when you tag it dos:publish
A discount made by another appOnly when you tag it dos:publish
A DiscountOS discount that works only in your physical storesNever, it cannot apply to an online order
A DiscountOS discount in test modeYes, marked test. Your theme should hide it from shoppers. See Filtering.

A scheduled discount is not in the data before its start time. An ended, expired or turned-off discount is removed.

For Shopify’s own discounts and other apps’ discounts: open the discount in Shopify (Discounts in your admin) and use the Tags card on the right. Add dos:publish and save.

The Tags card in Shopify's discount editor with the tag dos:publish added

For DiscountOS discounts: use the Tags field in the discount’s form in the app.

See what is published from Shopify and other apps

Section titled “See what is published from Shopify and other apps”

The Native discounts tab on Manage discounts lists every published discount that DiscountOS did not make, with a button to open it in Shopify.

The Native discounts tab on Manage discounts with three discounts from Shopify, titles blurred: a Buy X get Y at 100% off on 1 collection, a Free shipping discount, and an Amount off at 10% off on 1 collection. Each row has an Open in Shopify button. Under the table: Storefront data, Published: 19 discounts, 47 products and 2 collections. Updated 4 minutes ago, with Manual sync and a settings icon

The best-value keys (max_reward_percent, max_reward_cents, max_reward_discount) are picked from your DiscountOS discounts and Shopify’s own together; discounts made by other apps never count. The highest value among the ones that count wins.

DiscountCounts towards the best value
Automatic, amount off (a percent or money), for every customer, on one-time purchasesYes, when DiscountOS or Shopify made it
A discount made by another appNo
Buy X get YNo
A discount codeNo
A discount limited to some customers, markets or conditionsNo
Free shipping or a free giftNo
Test modeNo

Your theme can still show every discount from the discounts list in its own way. The rule above only decides which one fills the ready-made best-value keys.

LimitValueWhat happens past it
Automatic discounts in the data30Nothing is written and the previous data is kept. The Storefront data line tells you how many to remove.
Tagged discounts (dos:publish)30Same as above.
Products written through Publish to collection products8,000Discounts and collections still sync; the products do not. The line says so.
Active discounts carrying any dos: tag (including dos:unpublish)2,500Nothing is written and the previous data is kept. The line asks you to remove the tag from discounts that don’t need it.