History: OrderItemProfile
Source of version: 4 (current)
Copy to clipboard
!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. {CODE(caption=>YAML,wrap=>1)} 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$ ] {CODE}