...
The key to be removed from the flexAttributes of the orderItem.
orderItem.sanitizePiced()
Opens the picedstore of the orderItem and runs ImageMagick convert
over the images to repair images with broken pixels.
Example
Code Block | ||||
---|---|---|---|---|
| ||||
...
orderItem.sanitizePiced()
... |
orderItem.set(key, value)
Sets the value of a specified key for a given orderItem.
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.set(key, value, [options]) ... |
...
Sets the amount of a given oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setAmount(quantity) ... |
...
Sets the backend stateĀ of a given oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setBackendState(status) ... |
...
Sets the backend uuid of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setBackendUuid(uuid) ... |
...
Sets the price in cent of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setPrice(cent) ... |
...
Sets the product id of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setProduct(id) ... |
...
Sets the tracking id of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setTrackingId(tracking_id) ... |
...
Sets the vat of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.setVat(vat) ... |
...
Sets the shipping address of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.shippingAddress ... |
...
Sets the single price of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.singlePrice ... |
...
Sets the sku of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.sku ... |
...
Sets the sub oder id of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.subOrderId ... |
...
Sets the token of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.token ... |
...
Sets the tracking id of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.trackingId ... |
...
Returns the type of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.type ... |
...
Returns the uuid of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.uuid ... |
...
Returns the vat of the oderItem
Example
Code Block | ||||
---|---|---|---|---|
| ||||
... orderItem.vat ... |
...