Info
The beginnings of a cart payment system - very early days (May 2010)
General
YAML
preferences:
payment_feature: y
feature_trackers: 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 ]
Sample products database
Trackers
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_title
data:
name: Title
tracker: $products_tracker
type: text_field
flags: [ searchable, public, list, mandatory, link ]
order: 10
-
type: tracker_field
ref: products_description
data:
name: Description
tracker: $products_tracker
type: text_area
flags: [ searchable, public, list, link ]
order: 20
-
type: tracker_field
ref: products_price
data:
name: Price
tracker: $products_tracker
type: numeric
flags: [ public, list, mandatory ]
order: 30
-
type: tracker_field
ref: products_weight
data:
name: Weight
tracker: $products_tracker
type: numeric
flags: [ mandatory ]
order: 40
-
type: tracker_field
ref: products_image
data:
name: Image
tracker: $products_tracker
type: image
flags: [ public, list, link ]
order: 50