Views: 6065 (Data available since 06.02.2017)
Last Modified: 10.10.2012

In the following example, we shall set up the Phones information block that we have created in the previous chapter to function as a commercial catalog.

To make the Books information block act as a commercial catalog, enable the option Is commercial catalog in the Commercial Catalog module settings (Settings -> System settings -> Module settings -> select Commercial Catalog in the drop-down list):

Click on image to enlarge

Price types

First, we have to define prices at which we are going to sell products (phones).

  • Create the retail price type and make it available to all visitors of the site:

    Click on image to enlarge

  • Create the wholesale price type. Make this price type viewable by administrators and members of the Partners user group:

    Click on image to enlarge

Now that we have created our price types, we can view them in the Price types form:

Click on image to enlarge

Mark-ups

Mark-ups are used to calculate the final price by adding the predefined sum to the base price:

Price = Base price + Mark-up

However, an important thing to mention is that mark-ups here can be positive as well as negative values. In the latter case, a mark-up acts as a discount.

Create the following mark-ups.

  • Without discount. Give it a value of 0%:

    Click on image to enlarge

  • Dealer discount. Set the value to -18,5%:

    Click on image to enlarge

The mark-ups created will be added to the Price adjustment report:

Click on image to enlarge

Discounts

Discount can be applied to a single product as well as to all products of the catalog or a catalog section.

As an example, create a month discount of 10% for Children's books (Desktop -> e-Store -> Commercial catalog -> Discounts).

Click on image to enlarge

Open the Restrictions tab and define the section to which the discount can be applied:

Click on image to enlarge

Also create a 10% coupon for Fantasy books:

Click on image to enlarge

Click the Restrictions tab. Generate the coupon code, and define products to which the discount can be applied:

Click on image to enlarge

The new discounts will be added to the Discounts report:

Click on image to enlarge

Setting product properties

Now we have to configure parameters of products of the Books catalog (Content -> Bookstore -> Books -> Element).

For each element, set the following parameters (scroll to the Commercial catalog area).

  • Price:

    Click on image to enlarge

    • base price value;
    • retail price algorithm;
    • wholesale price algorithm.
    Note: to set the price value manually, select <not set> in the Mark-up field.

    Click on image to enlarge

  • Click the Parameters tab. Here you can enter the weight of a product unit and quantity in stock.

    Click on image to enlarge

    Note: the field Reduce quantity upon order is effective if the product can be purchased in the e-store. If this option is active, the value of the field In stock will automatically decrement when an order occurs.
  • The Discounts tab shows discounts that are valid for the product:

    Click on image to enlarge

Publishing the catalog

For publishing the catalog, we can use the composite component Catalog. This component enables the user to display products and prices in the special way in the public section using a wide variety of component's settings.

Add the Catalog component to the page:

Click on image to enlarge

In the Properties section you can set all the component's parameters:

  • Information type and inf. block for publishing.
  • List settings where you define number of elements per page, sorting parameters, etc.
  • Top and detail view settings.
  • A group of settings Prices include:
    • Price type: you can choose which price type to publish (base, wholeprice, retail, etc.)
    • Show quantity range prices: if this option checked all the set prices will be displayed in the public section

    • Show price for quantity: you can define a quantity of products price for which will be displayed
  • Other parameters: URLs templates, Page address management, Cache settings, etc.
Note: if a discount is set for a definite product it will be shown in the public section.

Save the page. Now you can view the catalog in the public section.



Courses developed by «Bitrix», Inc.