Loading...
 
Skip to main content

History: OrderProfile

Source of version: 6 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} # Shopping Cart Order Profile

{BOX()}The pagename on your Tiki for this profile cannot contain spaces{BOX} 
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


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

{CODE(caption=>YAML,wrap=>1)}
objects:
 -
  type: tracker_item
  ref: new_order
  data:
   tracker: 4
   status: pending
   values:
    - [ 15, $profilerequest:user$admin$ ]
    - [ 16, $profilerequest:time$315532800$ ]
    - [ 17, $profilerequest:total$0.00$ ]
    - [ 18, $profilerequest:invoice$0$ ]
{CODE}