Articles on: WooCommerce

Sale Price Field

Map and automate promotional sale pricing from your supplier feed into your store while applying markup or markdown formulas, currency conversions, and price rounding rules. Using Sale Price Smart Settings ensures accurate promotional pricing and prevents unwanted sale price updates on protected product lines.


Available on: ✔️ Add | ✔️ Update | ✔️ Export



How to Set Up the Sale Price Field


Go to App → Feed Settings → Step 2: Matching Column


  1. Map Sale Price Column: Locate the Sale Price field under the Variant section and select the corresponding promotional price column from your supplier feed file.
  2. Open Smart Settings: Click the Smart Settings icon next to the Sale Price field to configure markup/markdown conditions, delimiters, rounding patterns, or currency conversions.
  3. Save and Sync: Save your feed settings and run a sync to update product sale prices in your store.


Sale Price Field Overview


Map your regular retail price to the Price field and your discounted promotional price to the Sale Price field so storefronts display strikethrough comparison pricing properly.



Sale Price Field Smart Settings


1. Sale Price Conditions (Markdown / Markup)

Apply conditional formulas, percentage markups, discounts, or dynamic column calculations to adjust incoming sale prices before syncing them to your store.


Condition (If)

Sale Price (Then)

Result Showing

current_price == 0

*0

If the store price equals 0, multiply by 0 (no changes made).

col("Item RRP") == col("Item Price")

*col5 + col("InStock")

Blank out the compare-at price when it matches the regular price. If the "InStock" column is unavailable, substitute any available column name.

any

*1.5

Multiply all prices by 1.5 (applies a 50% markup).

any

*0 + current_quantity

Multiply all matching SKU prices by 0 and add current_quantity retrieved from the store.

taxable == 1

*1.5

If taxable is 1, multiply by 1.5 for a 50% markup (Shopify only; 1 = taxable, 0 = untaxable).

any

*0 + current_quantity

Multiply all matching SKU prices by 0 and add current_quantity retrieved from the store.

col5! = ""

*0 + col5

If column 5 contains any value, use that column's value as the price.

any

*0 + (col("price"+80) *1.5

Add $80 delivery to the stock price, then apply a 50% markup (*1.5).

any

*0 + current_price*(col("Option2")/100)

Calculate a discount off the existing store price (current_price) based on the percentage value in Option2.

col_string ("Vendor") == "shoe"

*1.3 + col("shipping")

If the Vendor column equals "shoe", multiply by 1.3 and add the shipping column value to the price. Suitable for adding markups based on conditions.

any

+ col("InStock")

Add the numeric value from the InStock column to the product price (supported based on nodes in XML).

contains ("pink", col_string("Description"))

*1.1

If the Description column contains "pink", multiply the price by 1.1 (10% markup). Used when evaluating text strings not supported by a column index.

contains ("4", col("qty"))

*1.5

If the qty column contains "4", multiply the price by 1.5 (50% markup). Used when evaluating numeric values not supported by a column index.

any

*0 + 12.5

Set a fixed price of 12.5 by multiplying by 0 and adding 12.5 (formulas cannot begin with an equal sign =).

price_f > 10 and price_f <= 15

*1.2

If the price is greater than 10 and less than or equal to 15, multiply by 1.2 (20% markup). Use price_f for numeric comparisons.

price_f == 11

*1.5

If the price equals 11, multiply by 1.5 (50% markup).

price > col1_f

*1 + col1 + col2

If the price is greater than column 1, add column 1 and column 2 to the price. Use col#_f for numeric comparisons.

col5 == “shoe”

*1.3

If column 5 equals "shoe", multiply by 1.3. Works with any column and is suitable for collection-based markups.

price_f < 1

*0 + current_price

If the price is less than 1, retain the current in-store price (Shopify only). Use price_f for numeric comparisons.

Price == “high”

*1.2

If the price equals "high", multiply by 1.2. Use price when comparison values are text.

any

*0.1

Multiply all prices by 0.1 (applies a markdown to 10%).

price == “discount”

*1.5

If the price equals "discount", multiply by 1.5 (50% adjustment).

cost < 40

*1.2

If the store cost is less than 40, multiply the price by 1.2. The cost value is retrieved from the store (Shopify only).

compare_at_price > 10

*1.5

If the store compare-at price is greater than 10, multiply the price by 1.5. The compare_at_price value is retrieved from the store (Shopify only).

any

/0.2

Divide all prices by 0.2.

col4_date > now

*1.2

If the date in col4 is later than current_timestamp, multiply by 1.2 (20% markup). Use col4_date for date comparisons (now refers to current_timestamp).

col4_date > today

*1.2

If the date in col4 is later than today's date, multiply by 1.2. Use col4_date for date comparisons (today refers to today's date).


Condition Priority Order: Sale Price Conditions are evaluated from top to bottom—the first condition in the list has the highest priority. Use the arrow icon beside each rule to reorder priority.


Stock Sync supports dynamic Column Value references directly inside condition formulas.


Valid Price Range Keywords:

  • price (use when comparison values are text)
  • price_f (use when comparison values are numeric)
  • col#_f (use when comparison values are numeric)
  • any
  • current_price (Shopify only)
  • cost (Shopify only)
  • compare_at_price (Shopify only)


Supported Condition Operators:


Symbol

Details

==

Equal to

<=

Less than or equal to

>=

Greater than or equal to

>

Greater than

<

Less than

and

True only when both statements are true

or

True when either statement is true


2. Sale Price Delimiter

Specify the decimal separator format used in your incoming feed file by choosing between Comma, Decimal Point, or Auto.


Sale Price Delimiter Setting


3. Sale Price Round

Standardize calculated sale prices using psychological pricing endings or fixed decimal rounding formats.


Sale Price Round Setting


Round Off Example

Result Showing

##.00 or ##.000

Changes 12.57 to 12.00, or 12.573 to 12.000.

##.#0 or ##.#00

Changes 12.57 to 12.50, or 12.573 to 12.500.

##.## or ##.##0

Changes 12.57 to 12.57, or 12.573 to 12.570.

##.## or ##.###

Keeps 12.57 as 12.57 and 12.573 as 12.573 (makes no changes).

##.99

Changes 12.570 to 12.599.

##.95

Changes 12.57 to 12.95.

##.97

Changes 12.57 to 12.97.

##.#99

Changes 12.570 to 12.599.

##9.00

Changes 121.57 to 129.00.

##5.00

Changes 123.57 to 125.00.

##9.99

Changes 127.57 to 129.99.

##,000.00

Changes 12,453.57 to 12,000.00.

##,#00.00

Changes 12,345.57 to 12,300.00.

##,##0.00

Changes 12,346.57 to 12,340.00.

##,#99.00

Changes 12,345.57 to 12,399.00.

##9 (from #.#9 to ##9,000, e.g., 129000, 12900, 1290, 129, 12.9...)

Changes 12.57 to 12.90, or 145.67 to 149.00 (changes the third digit to 9 followed by 0).

nearest whole number (from #1.## to #2.00)

Changes 12.57 to 13.00, or 135.33 to 136.00 (rounds every decimal up to the next whole integer by adding 1).


4. Currency Converter

Automatically convert incoming supplier sale prices when your feed currency differs from your store currency.


Currency Converter Setting


Example: If your supplier feed currency is MYR and your store currency is USD, enable Currency Converter and select MYR and USD in the currency fields.


5. Don't Update Sale Price When...

Exclude specific products from sale price updates based on Vendor, Product Type (Custom), or Product Tags.


Don't Update Sale Price When Setting


Example: Setting Don't update Sale Price when Vendor = Adibas skips sale price updates for all products belonging to vendor Adibas.



Key Rules & Technical Details


  • No Equal Sign in Formulas: Never begin a Sale Price Condition formula with =. To set a static fixed price (such as 12.5), use *0 + 12.5.
  • Numeric vs. Text Comparisons: Always use price_f or col#_f when comparing numeric thresholds (e.g., price_f > 10), and use price or col_string("Column") when matching text strings (e.g., Price == "high").
  • Shopify-Only Variables: Condition variables including current_price, cost, compare_at_price, and taxable pull data directly from Shopify and apply exclusively to Shopify stores.



Troubleshooting Steps


  • Issue: A numeric price condition fails to trigger or evaluates incorrectly → Solution: Replace price with price_f (and col# with col#_f) in your condition formula so Stock Sync evaluates the value as a number rather than text.
  • Issue: Setting a fixed sale price throws a formula error → Solution: Remove any leading = sign and enter *0 + [Your Price] (for example, *0 + 12.5) in the Sale Price (Then) column.
  • Issue: Sale prices for protected brands or seasonal items are being overwritten → Solution: Open Sale Price → Smart Settings → Don't update Sale price when ... and add exclusion rules by Vendor, Product Type (Custom), or Product Tags.



Good Articles to Continue


Updated on: 24/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!