Skip to content
Everett Griffiths edited this page Jun 19, 2014 · 2 revisions

A Product Container is a special MODX folder (technically it is a Custom Resource Class, which is a fancy way of saying it is a special kind of MODX page). Like all MODX pages, a Product Container has all the standard MODX fields (pagetitle, content, template, etc.) but a Product Container contains products, and not pages. For example, you cannot move other MODX pages into a Product Container.

Creating a Product Container

From inside the MODX manager, you create a Product Container by right-clicking anywhere in the menu-tree and selecting "Create -> Create a Product Container Here".

Tabs

A Product Container has two custom tabs that deal with their special role: Products and Store Settings.

Products Tab

The Products Tab is designed to display a list of products that are in this container -- this is similar to other MODX packages (such as Articles). When you first create a Product Container, the Products Tab contains only a welcome message: this is intentional. You need to create your Product Container page first before you can add products to it! Save your page like any other MODX page and the screen will refresh to reveal some additional functionality on the Products Tab

  • Add Product : This is how you create a new product inside the current container.
  • Sort : Use this button to manually drag your products into a custom sort order. You can always display your products in a sorted order (e.g. sorted alphabetically by name), but this button will let you specify an arbitrary sorting order.

Store Settings Tab

The Store Settings tab controls preferences for products that will be contained inside this container. Sometimes a "Product Container" is referred to as a "Store" for simplicity. The settings here will act as defaults for all the products created inside this container. You are not required to define them, and you can override these settings on a per-product basis, but it can save you time if you configure your Store Settings here so that all the children Products you create can have the same starting point with respect to Taxonomies, Specs, or Default Template.

Clone this wiki locally