Create some initial content

Create articles

Before any articles can be shown in the frontend those need to be created.

  1. Go to the module Web > Page
  2. Go to the "Article Storage" Folder that you created in the first step.
  3. Use the button Create new record and select the entry Product.
  4. Fill out all desired fields on all desired tabs (e.g. see Product and click Save.

More information about the records can be found here: recordproduct, recordcategory.

Add plugins: display the articles in the frontend

A plugin is used to render a defined selection of records in the frontend. Follow these steps to add a plugin respectively for product list and view to the basket:

Product page

  1. Go to module Web > Page and to the previously created page "Products".
  2. Add a new content element and select the entry MaagIT Product > Maagit Product List.
  3. Switch to the tab Configuration where you can define the plugins settings. The most important settings are Storage Pid and Recursive.
  4. Fill the field Storage Pid by selecting the sysfolder you created in the beginning of the tutorial.
  5. Save the plugin.

Basket

  1. Go to module Web > Page and to the previously created page "Products".
  2. Add a new content element and select the entry MaagIT Product > Maagit Product Basket.
  3. Switch to the tab Configuration where you can define the plugins settings. The most important settings are Checkout page.
  4. Fill the field Checkout page by selecting the Checkout page you created in the beginning of the tutorial.
  5. Save the plugin.

Read more about the plugin configuration in chapter plugin.

Have a look at the frontend

Load the "Products" page in the frontend and you should now see the article records as output. A click on the "add to basket" link should add the article to the basket. You want to change the way the articles are displayed? Have a look at the chapter Templating