HCL Commerce Enterprise

Creating a price rule to price catalog entries owned by an extended site store

You might have an extended site store that owns a subset of catalog entries, even though the store inherits all other catalog entries from a catalog asset store. If so, you can create a price rule in the extended site store. This price rule provides separate pricing for the catalog entries that are owned by the extended site store on one path while reusing the price rule from the storefront asset store on another path. If you do not want the extended site store to reuse the price rule from the storefront asset store, then this topic does not apply and you can build the extended site store's price rule any way you like.

Before you begin

You must have:
  • A price list that contains prices for all catalog entries that are owned by the extended site store.
  • A price rule that is owned by the storefront asset store that you want to reuse for the extended site store.

About this task

Here is an example of a price rule that serves this purpose:
A price rule for an extended site store
  • 1 The first path sets prices for catalog entries that are owned by the extended site store. This path must begin with a Price List Condition. This condition must specify a price list that contains prices for all catalog entries that are owned by the extended site store. For each catalog entry that is being priced on the storefront, this condition checks the price list to see if it contains a price for the catalog entry, which indicates that the catalog entry is owned by the extended site store. If yes, then the price rule elements on the first path are used to price the catalog entry. In this example, the price rule uses the Get Price from Price List action to price these catalog entries. Notice that the Get Price from Price List action specifies the same price list as the Price List Condition.
  • 2 The second path sets prices for catalog entries that are owned by and inherited from the catalog asset store. The second path does not require a condition because all other catalog entries that are not found in the price list condition on path 1 are automatically priced by path 2. In this example, the price rule uses the Offer price rule from the storefront asset store. By nesting this price rule on the second path, you can ensure that the extended site store always inherits the correct prices from the storefront asset store. Note that catalog asset stores do not have price rules, which is why the nested price rule is from the storefront asset store instead.

A default Offer Price Rule and List Price Rule are already set up for extended site stores, similar to the previous example.

Procedure

  1. Open Management Center Tools and from Hamburger menu, click Manage Accounts > Catalog Filter and Pricing .
  2. Select the extended site store.
  3. From the toolbar, click the arrow on the right side of Add newArrow Create New; then select Price Rule.
  4. Set the price rule properties:
    PropertyDescription
    Name Type a name for this price rule. This name displays beneath the price rule in the Price Rules - List page.
    Description Enter text that explains what the price rule is intended to do.

    Tip: To edit the name and description for a price rule, click the green circle at the start of the price rule.

  5. Set up the Condition Branch:
    1. From the Branching section in the palette, drag the Condition Branch icon into the price rule flow between the green and red circles.
    2. Click the Condition Branch.
    3. Complete the properties for the Condition Branch:
      Property Description
      Name Type a name for the Condition Branch.
      Paths For each path, type a name. The first path is used to price catalog entries owned by the extended site store. The second path is used to price catalog entries owned by and inherited from the catalog asset store.
  6. Set up the first path to price catalog entries owned by the extended site store:
    1. From the Conditions section in the palette, drag a Price List Condition icon into the price rule flow to the right of the green arrow that starts the first path.
    2. Click the condition icon.
    3. In the Price list table, find and add the price list for the extended site store.
    4. On the first path, to the right of the Price List Condition, add price rule elements to price catalog entries found in the extended site store's price list.
  7. On the second path, add price rule elements to price catalog entries owned by and inherited from the catalog asset store.
  8. Save and close the price rule.