TikiKart
Info
The beginnings of a cart payment system - very early days (May 2010)Future improvements
- Use filegals for images
- Make datachannel for creating new products, and make new wiki page for each one
- Sort out layout issues to work better without feature_wiki_paragraph_formatting
General
YAML
preferences: feature_wiki: y feature_trackers: y feature_categories: y feature_wiki_argvariable: y payment_feature: y payment_currency: $profilerequest:Currency initials$EUR$ wikiplugin_addtocart: y
Permissions
YAML
permissions:
Anonymous:
allow:
-view
-view_trackers
-list_trackers
objects:
-
type: category
id: $category_pretty_tracker_templates
allow: [ use_as_template ]
deny: [ view, edit ]
Registered:
description: Ignored
allow:
-payment_view
-payment_request
Admins:
description: Site administrators
allow:
-payment_manual
-payment_admin
Customers:
description: Ignored
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
TrackersNotes:
- 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: Product content: wikicontent:TikiKart_Product_Include - type: wiki_page ref: page_productlist data: name: Products content: wikicontent:TikiKart_ProductList_Include
