Info
The beginnings of a cart payment system - very early days (May 2010)
General
YAML
preferences:
feature_wiki: y
payment_feature: y
wikiplugin_addtocart: y
feature_trackers: y
feature_categories: y
feature_wiki_argvariable: y
Permissions
YAML
permissions:
Anonymous:
allow: []
Registered:
description: Will be ignored because group is already created
allow:
-payment_view
-payment_request
Admins:
description: Site administrators
allow:
-payment_manual
-payment_admin
Customers:
description: Users that have bought something
allow: []
include: [ Registered ]
Modules
YAML
objects:
-
type: module
ref: module_cart
data:
position: left
order: 1
name: cart
groups: [ Anonymous ]
-
type: module
ref: module_breadcrumb
data:
position: left
order: 2
name: breadcrumb
groups: [ Anonymous ]
Categories
YAML
objects:
-
type: category
ref: category_products
data:
name: Products
description: Base category for all products
-
type: category
ref: food_category
data:
name: Food
parent: $category_products
-
type: category
ref: drink_category
data:
name: Drink
parent: $category_products
Sample products database
Trackers
Notes:
- profilerequest: price prepend char (defaults to €)
YAML
objects:
-
type: tracker
ref: products_tracker
data:
name: Products
description: A sample database of products
default_status: open
show: [ modification_date ]
-
type: tracker_field
ref: products_code
data:
name: Product Code
description: Unique product code id
tracker: $products_tracker
type: auto_increment
options: ,,,itemId
flags: [ public, list, mandatory, link ]
order: 1
-
type: tracker_field
ref: products_title
data:
name: Title
description: Main display name of the product
tracker: $products_tracker
type: text_field
flags: [ searchable, public, list, mandatory, link ]
order: 10
-
type: tracker_field
ref: products_description
data:
name: Description
description: More info
tracker: $products_tracker
type: text_area
flags: [ searchable, public, list ]
order: 20
-
type: tracker_field
ref: products_category
data:
name: Category
description: Product category
tracker: $products_tracker
type: category
options: $profileobject:category_products$,checkbox
flags: [ searchable, public, mandatory, list ]
order: 30
-
type: tracker_field
ref: products_price
data:
name: Price
description: The product price as a decimal value (e.g. 42.50)
tracker: $products_tracker
type: numeric
options: 0,6,$profilerequest:Currency symbol$€$,
flags: [ public, list, mandatory ]
order: 40
-
type: tracker_field
ref: products_weight
data:
name: Weight
description: The weight of the product (most likely in grammes)
tracker: $products_tracker
type: numeric
flags: [ mandatory ]
order: 50
-
type: tracker_field
ref: products_image
data:
name: Image
description: Main image of the product for product detail page
tracker: $products_tracker
type: image
flags: [ public ]
order: 60
-
type: tracker_field
ref: products_thumb
data:
name: Thumbnail
description: Smaller image for lists
tracker: $products_tracker
type: image
flags: [ public, list, link ]
order: 70
Pretty Things
Pretty Tracker Templates:
YAML
objects:
-
type: wiki_page
data:
name: TikiKart_Product_Template
content: wikicontent:TikiKart_ProductList_Template