Skip to main content

Creating a Product Block

The third type of blocks in Platform OneEntry is the "Product block."

1. Creating a Block​

To create a block of type "Product block," you need to enter the block name in the Name field, select "Product block" from the Type dropdown menu, and enter a unique

Marker
in the Marker field. After clicking the Add button, the block will appear in the blocks table under the "Product block" category.

2. Editing a Block​

To edit a block, you need to click the "Edit" button in the "Actions" column of the blocks table.

Edit

For blocks of type "Product block," five tabs are available during editing:

  • Basic data
  • Attributes
  • Categories
  • Linked pages
  • Version History

Basic Data​

The "Basic data" tab consists of the following forms:

  1. Name - change the block's name
  2. Marker - change the
    Marker
    of the block
  3. Custom settings:
    • Quantity - change the number of items in the block (only integer values are allowed)
    • Sorting type for block items - you can sort either by date or by name
    • Sorting order for block items - three options: ascending, descending, and unsorted
    • Number of items per row - change the number of items in one row of the block (only integer values are allowed)
  4. Additional conditions - allows you to add conditions for sorting blocks. To apply sorting, you need to check the "Additional conditions" checkbox and select a sorting option (By name, price, and date). After that, enter the sorting values:
    • for name - enter the product name. As soon as you start typing the product name, a list of products matching the entered value will appear, from which you can select the desired product.
    • for price - two input fields: from the lower price and upper price
    • for date - also two input fields, where you need to specify the time range
      The order of selected blocks can be changed by dragging the blocks.

Attributes​

The "Attributes" tab contains two dropdown lists for selecting a Template and a Set of Attributes.

After selecting the set of attributes, you need to fill in the values. In our case, this is the attribute number, which has the type Integer. We will specify 44 as the value.

Categories​

The "Categories" tab contains a search bar

for pages
and a tree view
of pages
intended for
pages
containing products. This tab is needed to link the edited block with
pages
. To establish a link, you need to select
pages
from the list of
pages.
In the screenshot below, the "block_product" block is linked to the
page
"catalog."

The "Categories" tab is not available while the "Name" option is selected in the additional conditions on the "Basic data" tab (condition by name). The tab works with conditions by price and date.

Categories

Linked Pages​

The "Linked pages" tab contains a search bar

for pages
and a tree view
of pages
. This tab is needed to link the edited block with
pages
. To establish a link, you need to select
pages
from the list of
pages.
In the screenshot below, the new_block is linked to the
pages
"catalog" and "we."

Linked pages