This article explains what a pricing profile is, how to write its price formula, and how price ends round the result, so your listing prices update on their own when your costs change.
What is a pricing profile?
A pricing profile is a price formula you write once and link to as many listings as you like. The formula is built from tokens, such as a product's cost, RRP or weight, and works much like a formula in Excel.
StoreFeeder works out the price of each linked listing from that listing's own values. When a value the formula uses changes, StoreFeeder recalculates the price and sends the new price to the channel. For example, if a supplier feed updates a product's cost and your formula uses a cost token, the price of every linked listing updates to match.
Creating a pricing profile
Go to Settings > Accounting > Pricing profiles and click New pricing profile, or open an existing profile to change it. Give the profile a name, enter the formula, add any price ends, then check the Preview and click Save.
The profile does nothing until you link it to listings. See Adding Pricing Profiles to listings, or set a default profile for new listings on a channel with Setting a Default Pricing Profile for a Channel.
If your account has Insights Pro, you can describe the rule in plain English and have DAVE suggest the formula. See Pricing profile helper with DAVE.
Tokens
A token stands for one of the listing's values. Type it in square brackets, for example [AverageCost]. These are some of the tokens you can use:
[Price][AverageCost][PrioritySupplierCost][RRP][Margin][PackagingCosts][Inventory][Weight]- Sold Last 7 Days
The full list of tokens is shown on the pricing profile page while you write the formula.
Example formulas
| Formula | What it does |
|---|---|
[AverageCost] + [Margin] + [PackagingCosts] |
Average cost, plus a fixed margin, plus packaging. |
([PrioritySupplierCost] + [PackagingCosts]) * (1 + ([Margin] / 100)) |
Priority supplier cost plus packaging, with the margin added as a percentage. |
[RRP] + [Margin] + [PackagingCosts] |
RRP, plus a fixed margin, plus packaging. |
[AverageCost] + [Margin] + [PackagingCosts] + if([Inventory] < 10, 5, 0) |
As the first example, but adds 5 to the price when fewer than 10 are in stock. |
Writing formulas
Build a formula from tokens, numbers, operators and functions. Use brackets to control the order the formula is worked out in, as you would in Excel.
Operators
| Type | Operators |
|---|---|
| Add and subtract |
+ -
|
| Multiply and divide |
* / % (remainder) |
| Compare |
= == != <> < <= > >=
|
| Logical |
and && or || not !
|
| Bitwise |
& | ^ << >> ~. These are rarely needed for prices. |
Maths functions
| Function | What it returns | Example |
|---|---|---|
Abs(x) |
The number without its minus sign. |
Abs(-1.5) = 1.5 |
Ceiling(x) |
The number rounded up to a whole number. |
Ceiling(1.5) = 2 |
Floor(x) |
The number rounded down to a whole number. |
Floor(1.5) = 1 |
Max(x, y) |
The larger of the two numbers. |
Max(4, 9) = 9 |
Min(x, y) |
The smaller of the two numbers. |
Min(4, 9) = 4 |
Pow(x, y) |
x to the power of y. |
Pow(2, 3) = 8 |
Round(x) |
The number rounded to the nearest whole number. |
Round(1.7) = 2 |
Round(x, y) |
The number rounded to y decimal places. |
Round(1.237, 2) = 1.24 |
Sqrt(x) |
The square root of the number. |
Sqrt(9) = 3 |
Truncate(x) |
The whole-number part, with the decimals removed. |
Truncate(1.5) = 1 |
Other functions
| Function | What it does | Example |
|---|---|---|
if(condition, trueResult, falseResult) |
Returns the first result if the condition is true, and the second if it's false. |
if([Inventory] < 10, 5, 0) gives 5 when fewer than 10 are in stock |
in(value, x, y, z) |
Checks whether the first value is in the list that follows. Use it as the condition in if. |
in(5, 0, 5, 10, 15) is true |
Price ends
Price ends (sometimes called charm pricing) control the pence your prices finish on, so you sell at £1.50 or £1.99 rather than £1.37. On each pricing profile, enter the price ends you want, such as 0, 25, 50, 99, then choose a rounding strategy:
- Round Down: moves the price down to the nearest price end.
- Round Up: moves the price up to the nearest price end.
- Mid Point Rounding: moves the price to whichever price end is closest, up or down.
This table shows how each strategy rounds the same prices when the price ends are 25, 50, 99:
| Calculated price | Round Down | Round Up | Mid Point Rounding |
|---|---|---|---|
| 1.33 | 1.25 | 1.50 | 1.25 |
| 1.67 | 1.50 | 1.99 | 1.50 |
| 1.99 | 1.99 | 1.99 | 1.99 |
| 2.00 | 1.99 | 2.25 | 1.99 |
A price that already ends on one of your price ends, like 1.99 above, isn't changed. To keep whole-pound prices such as £2.00, include 0 in your price ends.
Limits and things to watch for
- Saving changes live prices. When you save a profile, StoreFeeder recalculates the price of every listing linked to it and sends the new prices to your channels. Check the Preview before you save.
- A profile only affects linked listings. Creating a profile doesn't change any prices until you link it to listings.
- A channel's default profile only applies to new listings. Setting one doesn't change the profile on listings that already exist on that channel.
- Prices follow your data. If a token is wrong, for example, a product's cost is missing, the calculated price will be wrong too.
Comments
0 comments
Please sign in to leave a comment.