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
objects:
-
type: category
id: $category_pretty_tracker_templates
allow: [ use_as_template ]
deny: [ view, edit ]
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: category_food
data:
name: Food
parent: $category_products
-
type: category
ref: category_drink
data:
name: Drink
parent: $category_products
-
type: category
ref: category_pretty_tracker_templates
data:
name: Pretty Tracker Templates
description: For Wiki pages serving as templates for Tracker and TrackerList wikiplugins
items:
- [ wiki_page, $page_productlist_tpl ]
- [ wiki_page, $page_product_tpl ]
Sample products database
Trackers
Notes:
- profilerequest: price prepend char (defaults to €)
YAML
objects:
-
type: tracker
ref: tracker_products
data:
name: Products
description: A sample database of products
default_status: open
show: [ modification_date ]
-
type: tracker_field
ref: tracker_products_code
data:
name: Product Code
description: Unique product code id
tracker: $tracker_products
type: auto_increment
options: ,,,itemId
flags: [ public, list, mandatory, link ]
order: 1
-
type: tracker_field
ref: tracker_products_title
data:
name: Title
description: Main display name of the product
tracker: $tracker_products
type: text_field
flags: [ searchable, public, list, mandatory, link ]
order: 10
-
type: tracker_field
ref: tracker_products_description
data:
name: Description
description: More info
tracker: $tracker_products
type: text_area
flags: [ searchable, public, list ]
order: 20
-
type: tracker_field
ref: tracker_products_category
data:
name: Category
description: Product category
tracker: $tracker_products
type: category
options: $profileobject:category_products$,checkbox
flags: [ searchable, public, mandatory, list ]
order: 30
-
type: tracker_field
ref: tracker_products_price
data:
name: Price
description: The product price as a decimal value (e.g. 42.50)
tracker: $tracker_products
type: numeric
options: 0,6,$profilerequest:Currency symbol$€$,
flags: [ public, list, mandatory ]
order: 40
-
type: tracker_field
ref: tracker_products_weight
data:
name: Weight
description: The weight of the product (most likely in grammes)
tracker: $tracker_products
type: numeric
flags: [ mandatory ]
order: 50
-
type: tracker_field
ref: tracker_products_image
data:
name: Image
description: Main image of the product for product detail page
tracker: $tracker_products
type: image
flags: [ public ]
order: 60
-
type: tracker_field
ref: tracker_products_thumb
data:
name: Thumbnail
description: Smaller image for lists
tracker: $tracker_products
type: image
flags: [ public, list, link ]
order: 70
Pretty Things
Pretty Tracker Templates:
YAML
objects:
-
type: wiki_page
ref: page_product_tpl
data:
name: TikiKart_Product_Template
content: wikicontent:TikiKart_Product_Template
-
type: wiki_page
ref: page_productlist_tpl
data:
name: TikiKart_ProductList_Template
content: wikicontent:TikiKart_ProductList_Template
-
type: wiki_page
ref: page_product
data:
name: Products
content: wikicontent:TikiKart_Product_Include
-
type: wiki_page
ref: page_productlist
data:
name: Product
content: wikicontent:TikiKart_ProductList_Include