Loading...
 
Skip to main content

History: OrderProfile

Source of version: 5 (current)

Copy to clipboard
            !Shopping Cart Order 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

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}