Fullscreen
Loading...
 
[Show/Hide Right Column]

Shopping Cart Order Item Profile

The pagename on your Tiki for this profile cannot contain spaces

This is used for the advanced Shopping Cart feature: Record orders in trackers.

To use it on your Tiki, you will need to change:
  • the tracker ID
  • the field IDs
  • $OrderProfile:new_order to $WhateverTheOrderProfilePagenameIs:new_order

Make sure that proper Permissions are set on the page so that it does not get edited by non-admins.

YAML
objects:
 -
  type: tracker_item
  ref: new_order_item
  data:
   tracker: 5
   status: pending
   values:
    - [ 20, $OrderProfile:new_order ]
    - [ 21, $profilerequest:product$0$ ]
    - [ 22, $profilerequest:price$0.00$ ]
    - [ 23, $profilerequest:quantity$0$ ]
    - [ 40, $profilerequest:user$admin$ ]
    - [ 52, $profilerequest:eventcode$0$ ]
    - [ 158, $profilerequest:eventstart$0$ ]
    - [ 159, $profilerequest:eventend$0$ ]
    - [ 216, $profilerequest:price$0.00$ ]
    - [ 227, $profilerequest:inputedprice$0.00$ ]
    - [ 228, $profilerequest:parentcode$0$ ]



Contributors to this page: Nelson810 points  .
Page last modified on Thursday 14 July, 2011 20:58:57 UTC by Nelson810 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki