Skip to main content

Interface modules

An interface module is a simplified copy of an admin panel section: the same screens, showing only the data you select. For example, a "Laptops" module shows the catalog with just the laptop category, and a "Warehouse orders" module shows only the orders of one storage. Each module is a separate item in the sidebar, and only the administrators selected in the module see it.

A module doesn't change administrator permissions: what an administrator can do in a module is governed by the same permissions as in the section the module is based on.

The section a module copies is its base (Module base):

BaseWhat the module shows
Catalogproducts of the selected catalog categories
Pagesthe selected site pages with their subpages
Ordersorders of the selected storages
Paymentspayments of the selected payment methods or order storages
Usersusers of the selected groups or authorization providers
Custom screena screen built from widgets. This base is covered in Custom screen

Permissions​

What you needPermission or setting
open the Interface modules sectioninterfaceModules.get
create a moduleinterfaceModules.create
change a module and configure its screensinterfaceModules.update
delete a moduleinterfaceModules.delete
see a module in the menuthe administrator is selected in Who can see the module

Module list​

You create and configure modules in the Interface modules section of the sidebar. The module table has the Name, Marker, Module base, and Administrators (how many administrators see the module) columns. Each row has two buttons: the gear opens the module settings, and the trash can deletes the module.

Deleting a module doesn't delete any data: categories and products, site pages, orders and storages, payments and payment methods, users and groups all stay in place.

Creating a module​

  1. Open the Interface modules section and click Create interface module.

  2. Fill in the common fields:

    FieldWhat to enter
    Namethe module name as it will appear in the menu
    Hint for module adminsan optional hint that all module admins see above the module screens. The hint and the name are written in the content language
    MarkerLatin letters, digits, and hyphens, no spaces. The module opens at /marker. The marker can't match the marker of another module or an admin panel section
    Module basethe section whose screens the module shows
    Menu iconthe menu item icon. Until you choose one, the menu shows the icon of the base section
    Who can see the modulethe administrators whose menu will show the module
  3. Fill in the settings of the selected base. They appear below the common fields and are described below.

  4. Click Create interface module.

Marker and Module base can't be changed after creation: the module settings show them as plain text.

The module appears in the selected administrators' menu right after its base section. A module based on Custom screen goes to the end of the menu.

Catalog base​

FieldWhat it does
Module categoriesRequired. The catalog categories visible in the module, with their subcategories and products. The rest of the catalog isn't shown in the module
Categories in the product cardWhich categories module admins see on the product's Categories tab: Module categories only, Entire catalog, or Selected categories (then you pick them in the Categories for the product card list). Product categories an admin can't see aren't lost on save
Default product orderHow products are ordered when the list opens. As set in the category uses the category setting; otherwise choose a sort field and a Direction. A module admin can change the order in the sorting panel until the page is reloaded, unless the panel is hidden
Permanent product filterConditions like the ones in Filter by products: product status, attribute, condition, and value. The module shows only products that match all conditions at once. Without conditions, all products in the module's categories are visible
Allowed product statusesThe statuses a product can be set to in the module. If a product already has a different status, it stays visible, but it can't be selected again. Empty means all statuses
New productWhat the module sets for a product created in it: Status, Visibility, Product page template, Attribute set. These settings take priority over the category settings. As in the catalog follows the category and catalog settings

When a permanent filter is set, the module has no Delete all products action and no bulk product deletion in categories, since those would also delete products outside the filter.

The status from the New product block is set right after the product is created. If the module admin has no permission to change the product status, the product keeps the catalog's default status.

Pages base​

FieldWhat it does
Module pagesRequired. The pages visible in the module, with their subpages. Other site pages aren't shown in the module
Which pages to showThe page types visible in the module: Common page, Error page, External page, Catalog page. A page of another type is hidden along with all pages inside it. Check at least one type
Permanent page filterVisibility on the site (Any pages, Only visible on the site, Only hidden on the site) and attribute conditions. The module shows only pages that match all conditions at once. A page that doesn't match is hidden along with all pages inside it
New pageWhat the module sets for a page created in it: Where to create (the module page the new page goes into, In the first module page by default), New page types (the types available when creating a page; empty means all), Page type, Visibility, Page template, Attribute set. As in the section works the same as creating a page in the Pages section
Allowed deletion optionsWhich page deletion options module admins have: Delete Page, Delete Page + Subpages, Delete Page + Content, Delete Page + Subpages + Content. If none is checked, pages can't be deleted in the module

Which pages to show doesn't affect the choice of module pages or the types in the New page block: a page of an unchecked type is created but doesn't appear in the module.

Options with subpages also delete subpages that the filter hides from the module. Delete Page without subpages moves the subpages to the top level of the site, and they disappear from the module.

Orders base​

FieldWhat it does
Module order storagesRequired. The storages whose orders are visible in the module
Permanent order filterStatuses and Payment methods. An order is visible if its status is one of the selected ones and it has one of the selected payment methods. An empty field means no condition. If you select a storage's statuses on several axes (order, fulfillment, payment), the order must match each of them. A storage with no statuses selected shows all its orders
Allowed order statusesThe statuses an order can be set to in the module. If an order already has a different status, it stays visible, but it can't be selected again. Empty means all statuses

Payments base​

FieldWhat it does
Module payment methodsThe payment methods whose payments are visible in the module
Module order storagesThe storages whose orders' payments are visible in the module. Payments without an order aren't shown
Permanent payment filterStatuses: payment statuses. Date: which date to check (Creation date or Update date) and how: Last days (a number of days counted from now) or Period (you can enter just one date; the selected days are included). Amount: From and To (you can fill in just one). An empty field means no condition
Where “Go to order” leadsWhere the link to an order from a payment goes: the Orders section or an orders module. If the administrator has no access to the selected module, or the order is from a storage outside it, the Orders section opens

Select at least one payment method or storage. If both fields are set, the module shows payments that match both. A payment without the date selected in the filter, or without an amount, doesn't match the condition.

Users base​

FieldWhat it does
Module groupsThe groups whose users are visible in the module, including all subgroups
Module authorization providersThe authorization providers whose users are visible in the module
Permanent user filterConditions on user attributes. The module shows only users who match all conditions at once. Conditions are checked in the content language: a user with no value in that language doesn't match. Up to 20 conditions
Groups a new user joinsThe groups a user created in the module joins right away. If nothing is selected, the user joins all module groups. The group of their authorization provider is added in any case

Select at least one group or authorization provider. If both fields are set, the module shows users who match both.

Working in a module​

Open a module from the sidebar. The hint from Hint for module admins appears above the screens. The screens are the same as in the base section, minus the section's own settings:

BaseNot available in the module
Catalogthe Filter by products tab, because it shows products from the whole catalog
Pagesthe section's additional settings (error pages are shared across the whole site)
Ordersthe Order Storages tab: the module has the Orders and Refund Requests tabs
Paymentsthe Accounts and Statuses tabs
Usersthe Authentication providers and Groups tabs

Configuring module screens​

You can rearrange a module's screens with the interface constructor: hide the tabs, columns, and buttons that module admins don't need. These settings apply only inside the module and don't change the base section.

  1. Open the module and click Configure module screens. The button is visible to administrators with the interfaceModules.update permission.
  2. Configure the screens the same way as in the interface constructor. Until you save the changes to the module, only you see them.
  3. Click Save to module to show the changes to all module admins. To return the screens to the state saved in the module, click Discard changes.
  4. Click Finish configuring to leave configuration mode.