ATG C om mer ce P ro g ramm in g Gui d e
14 - U si n g P ri ce Li s t s
In the price list model, a price repository item has a
) but no
This section describes how to implement sale pricing with price lists.
The quickest way to implement sale pricing using price lists is to create a sale price list.
In this situation, you could store all the list prices for a specific user in one price list and all the sale prices
for a specific user in another price list. This set up provides flexibility. For example, you could have
different sale prices for two different users, even if they have the same price list normally. It also allows us
to inherit sale prices while overriding the list prices (or vice versa).
Follow these steps to implement sale pricing using price lists.
Creating the sale price list
Create a sale price list the same way you create other price lists. Structurally there is no
difference between a sale price list and any other price list.
Assign the sale price list to a user.
Since we want the flexibility of keeping sale prices completely separate from list prices,
user’s will need to have two price lists assigned to them. There will need to be an
additional property in the user’s profile to store the
Note: ATG Business Commerce users can create an additional property for the user
and the contract. Create this new property by copying the
changing the name.
Pricing an item with a price list
If you want to price an item without price lists, the following steps occur: There are
two precalculators in the
. The item is first priced with the list
price. The item is then priced with the sale price. The
pieces of information, allowing users to calculate the discount that the user received.
Price lists use a similar approach:
The first calculator in the list by default is:
This is an instance of
. It configures the
name of the profile property that stores the price list as well as the map that
configures which calculator to use for each
. For sale pricing, create a
new instance of this calculator called
# The ItemSalePriceCalculator which prices an item on sale