New: the AI assistant diagnoses sync issues from your own logsRead more →
DocsDiscount Syncing

Discount Syncing

Sync Square discounts to WooCommerce automatically.

Sync your Square catalog discounts to WooCommerce. When enabled, discounts configured in Square automatically apply at checkout.

Looking for coupon codes (codes customers type in at checkout or the register)? That's a separate feature — see Discount Codes (Beta).

Enable Discount Syncing

  1. Go to SWS Pro > Settings > Products
  2. Find the Discounts section
  3. Toggle on Enable Discount Syncing
  4. Click Save Changes

Supported Discount Types

SquareSync supports the following discount types from Square:

TypeDescription
Fixed PercentagePercentage-based discounts (e.g., 10% off)
Fixed AmountFixed dollar amount discounts (e.g., $5 off)

Application Scopes

ScopeBehavior
Whole PurchaseApplied to entire cart (only the highest-value discount applies)
Line ItemApplied to specific products or categories

What Gets Synced

Square catalog discounts with valid pricing rules sync to WooCommerce and apply automatically at cart and checkout.

Configuration Options

Global Toggle

Enable or disable real-time discount syncing entirely from the settings page.

Per-Discount Toggles

After enabling, you can manually enable or disable individual Square discounts to control which ones sync to WooCommerce.

When Square itself keeps a discount off (for example Manual in Square or All rules expired), the list shows that reason and its toggle is locked, even if you have also switched it off yourself.

Key Behaviors

Whole Purchase Discounts

When multiple whole-purchase discounts could apply, only the best deal is used. The discount with the highest value wins.

Line Item Discounts

Line-item discounts respect the pricing rules configured in Square:

  • Quantity minimums (e.g., buy 3 or more)
  • Subtotal minimums (e.g., spend $50 or more)
  • Product or category targeting

Minimum Spend ("Spend $X, Save $Y")

Since 10.7.5. A discount with a minimum spend in Square applies only once the cart reaches it. As in Square, the minimum is checked against the items subtotal before discounts and tax; shipping and fees don't count.

With several tiers, for example $20 off over $125 and $40 off over $200, the cart gets the best tier it qualifies for, never several: a $150 cart gets $20 off, a $220 cart gets $40 off, and a $100 cart gets nothing. This follows Square, which applies one automatic discount per item, the best one for the customer.

Manual Discounts

Since 10.7.5. A discount set in Square to be applied manually (the cashier picks it at the register) never applies on the website. It stays in the Discounts list marked Manual in Square: applied by the cashier only, with its toggle off. To run it online, edit the discount in Square and set it to apply automatically, then click Refresh List.

Start and End Dates

Discounts follow the dates set in Square, in your site's time zone. Since 10.7.5, a discount that hasn't started yet shows Starts on with its date, and you can switch it on ahead of time: it goes live on its start date by itself, with no need to click Refresh List. Once all its dates have passed, it is switched off as expired.

Buy One, Get One (Buy X, Get Y)

Since 10.7.0. Square's "Buy one, get one" discounts apply at checkout. For example, with "buy one, get one 50% off" on a set of items:

  • Items are paired dearest first. In each pair the dearer item is paid in full and the other one gets the discount, the way Square pairs them at the register. $45 + $25 comes to $57.50, with $12.50 off the $25 item.
  • The deal repeats as many times as the cart allows. Four eligible items make two pairs; a fifth stays at full price.
  • If the rule in Square says the cheapest item is paid in full, the dearer item gets the discount instead.
  • The cart shows one discount line named after your Square discount. Product pages show no sale price or "on sale" badge, because only some of the items are discounted.
  • An item already discounted by another Square line-item discount isn't paired, as Square applies one automatic discount per item.
  • The order reaches Square with the discount by name on the item it discounted, and Square's order total matches WooCommerce's.

Running the same promotion in another discount plugin? Turn one of the two off. If both are on, both discounts apply. SquareSync's Skip when a WooCommerce coupon is used setting only covers WooCommerce coupons, not other plugins' rules.

Excluded Items

Since 9.10.7. If a discount rule in Square is configured with excluded items or categories, those exclusions are honoured in WooCommerce too:

  • Excluded products and categories are never discounted, in the cart or on product pages
  • For whole-purchase percentage discounts, the discount is calculated from the non-excluded portion of the cart only
  • If everything in the cart is excluded, the discount is not applied at all

Updating from an earlier version? Open the Discounts page and refresh the discount list once so the exclusions are picked up. Before 9.10.7, exclusions were ignored on the WooCommerce side.

For code-level control — skipping a discount conditionally, or excluding products/categories beyond what's configured in Square — see the sws_apply_square_discount and sws_product_matches_discount filters.

Third-Party Add-On Exclusions

Surcharges from third-party plugins are excluded from discount calculations:

  • Product Add-Ons
  • Composite Products
  • Similar add-on plugins

This prevents discounts from incorrectly applying to customization fees.

Limitations

Discounts are automatically disabled and won't sync when:

  • PIN required — Square discounts requiring a PIN cannot sync
  • No pricing rules — Discounts must have at least one pricing rule attached
  • Expired rules — All pricing rules on the discount have expired
  • Loyalty rewards — ATTACHED mode discounts (loyalty program rewards) are excluded to avoid conflicts
  • Manual in Square — Since 10.7.5. Discounts set in Square to be applied manually by the cashier
  • Unsupported types — Only FIXED_PERCENTAGE and FIXED_AMOUNT types are supported
  • Unsupported rule (not applied) — Since 10.7.0. A rule shape SquareSync can't apply exactly on the website is switched off and marked in Settings › Discounts, rather than showing as active. This covers rules using Square's older "apply to" product list, and buy-one-get-one rules with a maximum discount amount, a minimum spend, time-of-day periods or a range of quantities

Troubleshooting

Discounts not appearing in WooCommerce

  • Verify discount syncing is enabled
  • Check the discount has valid pricing rules in Square
  • Confirm the discount type is supported
  • Review per-discount toggles for the specific discount

Discount not applying at checkout

  • Ensure the cart meets any minimum requirements (the items subtotal before discounts and tax)
  • Check the discount isn't marked Manual in Square: those apply at the register only
  • Check product/category targeting matches items in cart
  • Verify the discount hasn't expired