local_retained:shop:structure:classes:catalogitem

The catalogItem Classe : Concept of Catalogue items

Moodle Integrated Shop : Structural elements

Introduction

Catalogue items represent individual entries in the catalogue of products for sale.

There are three types of item:

  1. Individual products: refers to one product reference.
  2. Bundles: groups several product references under a single reference, cannot be sold separately
  3. Sets: groups several individual product references, each of which can be sold separately under its own reference, in a single display group. A set does not have its own business reference because it cannot be sold as such.

Products, bundles, and sets share the same data model and class and use the same set of attributes.

Some attributes are inoperative for certain types of catalogue item.

Catalogue item properties are numerous and include all the data required to display and process the product offer. Catalogue entries are linked to a unique catalogue instance and must belong to a product category. When the shop’s assignment mode is used, they can belong to platform users (e.g. an author/teacher/publisher can own the entry in the catalogue that posts their course for sale).

Properties of catalogue items

This is where the “information” properties for the catalogue item are developed.

  • Catalogue (FKEY) : The reference catalogue for this item.
  • Categorie (FKEY) : The product category for thiscatalogue.
  • * Owner (FKEY) : Identier of the Moodle user who owns (assigned) this product.
  • Short name or “product reference” (UNIQUE) : The product code.This code is preferably a unique token that should be compatible with other accounting or business software (CRM). The code can be displayed in shop front end as secondary information.
  • Full name: This name is displayed in shop front end.
  • Description : The description is displayed in shop front end in the area reserved for product presentation.
  • future option : A future display option under consideration is to switch to a graphic box mode; in which case, the description would be displayed by browsing.
  • Notes : A note field can be populated by the operator. This field is never displayed in front end
  • Conditions de ventes / EULA : The conditions of sale or End User Licence Agreement statements are displayed for each product selected for purchase before the order confirmation phase.

Other properties

Other linked data

Other data, files in particular, can be linked to a catalogue entry.


Back to the Moodle Shop structure summary - back to Local Shop componant - back tocatalogue

local_retained/shop/structure/classes/catalogitem.txt · Last modified: 2024/05/14 15:38 (external edit)