local:shop:structure:classes:shop

This is an old revision of the document!


the Shop Class

Moodle Shop structure documentation

Introduction

The shop denotes a scope where some customers will interact with some product lines under some commercial modalities to buy Moodle assets.

You will be able to create several shop instances in Moodle, having distinct product lines and distinct behaviour or seliing rules. Each Shop will be assigned a unique master Catalog. Several instances of a Shop may use the same product line (Catalog) but using distinct settings.

The Shop class is the object counter part of a “Shop front office instance”.

Shop properties

Common attributes to a Shop are:

the Catalog ID

the ID of the master instance of a Catalog that will contain the product lines. A Shop can be assigned to only one catalog, but may use several instances of Catalogs if the master catalog is bound to slave instances.

Default currency

The default currency applied to the whole Shop. May be overriden at lower stage.

Front-office browsing order

Though most of the common shop engines are provideing a very common scenario to drive a customer from the entrance to the order confirmation, some steps may be reordered for convenience. the scenario must follow essential rules for the selling process being consistant.

Customer information options

Three options allow altering what information is collected for physical persons.

  • Ask customers for an institution (professional customers)
  • Ask institution for the participants when collecting participant data
  • Ask mobile phone of the participants

Front-office layout options : tabbing the categories

A shop may choose to stack the categories of products one over the other on a single page, or tab the categories.

Default customer support course

A course can be designated to serve as customer support workspace.

Force downloading the attached documents

Shop settings can force users to download and locally store the attached documents such as leaflets, etc. If this option is not enabled, then the document may be displayed directly in the browser if the document type is supported.

enable taxes calculation

local/shop/structure/classes/shop.1511538144.txt.gz · Last modified: 2024/04/04 15:50 (external edit)