Articles on: Shopify

Cost Field

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



There are a few settings for this field which are:

1. Cost Conditions



How to use Cost Conditions according to the examples below:



Condition (If)Price (Then)Result Showing
current_price == 0*0If store cost = 0, Then multiply by 0 (no changes made to the cost)
any*1.5All prices will be multiplied by 1.5 or markup of 50%
any*0 + current_quantityAll SKU prices that match will be multiplied by 0, and add the current_quantity. The current_quantity value will be taken from the store.
taxable == 1*1.5If the taxable is 1, it will be multiplied by 1.5 or markup 50% (Only for Shopify) 1: taxable, 0: untaxable
any*0 + current_quantityAll SKU prices that match will be multiplied by 0, and add the current_quantity. The current_quantity value will be taken from the store.
col5! = ""*0 + col5If the column has any value, then use that column as the price.
any0 + (col("price"+80) 1.5If the stock price wants to add $80 delivery, then markup 50% or 1.5
any0 + current_price(col("Option2")/100)If the product price is based on the store price, it should be discounted based on the value of Option 2.
col_string ("Vendor") == "shoe"*1.3 + col("shipping")If the column name vendor has the value shoe, multiply by 1.3 and add the column shipping value to the price. It can be used for any column and is suitable for adding markup based on the conditions.
any+ col("InStock")If the product price wants to add the value from column InStock. It's supported based on the nodes in XML.
contains ("pink", col_string("Description"))*1.1If the column name Description contains the value of pink from the column, then the price is multiplied by 1.1 or markup 10%. It's used when the value is a string not supported by a column index.
contains ("4", col("qty"))*1.5If the column name qty contains the value of 4 from the column, then the price is multiplied by 1.5 or a markup 50%. It's used when the value is numeric and not supported by a column index.
any*0 + 12.5If you want to set the price at 12.5, add 12.5 instead of using equal. It cannot begin with an equal sign.
price_f > 10 and price_f <= 15*1.2If the price is more than 10 and equals or below 15, Then, the price is multiplied by 1.2 or a markup of 20%. Use price_f when the comparison values are numeric.
price_f == 11*1.5If the price is 11, Then the price is multiplied by 1.5 or a markup 50%
price > col1_f*1 + col1 + col2If the price is more than column 1, then add column 1 and column 2 to the price. Use col#_f when the comparison values are numeric
col5 == “shoe”*1.3If column 5 has the value shoe, then multiply by 1.3, It can be used for any column and is suitable for adding markup based on collections.
price_f < 1*0 + current_priceIf the price is less than 1, Then it will use the current price in-store (Shopify only). Use price_f when the comparison values are numeric.
Price == “high”*1.2If the price is equal to "high", Then multiply by 1.2, Use price when comparison values are text
any*0.1All the prices will be multiplied by 0.1 or markdown 10%
price == “discount”*1.5If the price is equal to the "discount", Then it will multiply by 1.5 0r 50%, which markdown the price.
cost < 40*1.2If the cost in the store is less than 40. Then multiply the price by 1.2, The cost value will be taken from the store. (Shopify only)
compare_at_price > 10*1.5If compare at a price in the store is more than 10, Then multiply the price by 1.5, The compare at price value will be taken from the store. (Shopify only)
any/0.2All the prices will be divided by 0.2
col4_date > now*1.2If the col4 date is more than current_timestamp, Then multiply by 1.2 or markup 20%. Use col4_date when the comparison is a date. Now refers to current_timestamp
col4_date > today*1.2If the col4 date is more than current_timestamp, Then multiply by 1.2, Use col4_date when the comparison is a date. Today refers to today’s date


There is little info regarding the Cost condition (markup)

i. The Cost Conditions take effect according to the arrangement. The first conditions have the highest priority. You can move it by using the arrow beside it according to your needs.

ii. Stock Sync now supports Column Value.

iii. Valid price range keywords are:

price (Use it when the comparison values are text)
price_f (Use it when the comparison values are numeric)
col#_f (Use it when the comparison values are numeric)
any
current_price (Shopify only)
cost (Shopify only)
compare_at_price (Shopify only)

iv. The symbol that is used for the statement:

SymbolDetails
==equal to
<=less than or equal to
>=more than or equal to
>more than
<less than
andonly true when both statements are true
ortrue when either statement is true



2. Cost Delimeter



The cost delimiter provided in the price field has three options which are Comma, Decimal Point, and auto.




3. Cost Round



A cost round is used to standardize the prices of the products in the store if a round number is used too often or the prices do not have a clear focus digit.



How to use Cost Round according to the examples below:

Round off exampleResult Showing
##.00 or ##.000It will change it from 12.57 to 12.00 or 12.573 to 12.000
##.#0 or ##.#00Change it from 12.57 to 12.50 or 12.573 to 12.500
##.## or ##.##0Change it from 12.57 to 12.57 or 12.573 to 12.570
##.## or ##.###Change it from 12.57 to 12.57 or 12.573 to 12.573 (Doesn't have any changes)
##.99Change it from 12.570 to 12.599
##.95Change it from 12.57 to 12.95
##.97Change it from 12.57 to 12.97
##.#99Change it from 12.570 to 12.599
##9.00Change it from 121.57 to 129.00
##5.00Change it from 123.57 to 125.00
##9.99Change it from 127.57 to 129.99
##,000.00Change it from 12,453.57 to 12,000.00
##,#00.00Change it from 12,345.57 to 12,300.00
##,##0.00Change it from 12,346.57 to 12,340.00
##,#99.00Change it from 12,345.57 to 12,399.00
##9 (from #.#9 to ##9,000). eg. 129000, 12900, 1290, 129, 12.9...Change it from 12.57 to 12.90 or 145.67 to 149.00, All the third digits of the number will change to 9 followed by 0.
nearest whole number (from #1.## to #2.00)Change it from 12.57 to 13.00 or 135.33 to 136.00, Every whole number will be rounded up. Its meant added by 1



4. Currency Converter



If the value of the prices provided in the feed is in a different currency than the currency that's in the store.



For example: If the supplier feed currency = MYR, And the store currency = USD
Enable the Currency Converter and enter the currency in the fields above


5. Don't update Cost when...



Exclude certain products from updating the Cost using this option. It can be excluded by Vendor, Product Type, and Product Tags.



For example: Don't update Cost when Vendor = Adibas, All products Cost of Vendor Adibas will not be updated.

Updated on: 30/08/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!