Skip to the content
Documentation

ezorder

No ratings yet

Summary

Contains information about an order.

Persistent

Yes.

Attributes

Attribute Type Static* Description
id string Yes. The ID number of the order.
order_nr string Yes. The number (count) of the order.
is_temporary string Yes. 1 if the order is temporary, 0 otherwise.
user_id string Yes. The ID number of the user that the order belongs to.
productcollection_id string Yes. The ID number of the product collection that belongs to the order.
data_text_1 string Yes.

General purpose text block for the shop account handler. The default shop handler uses this attribute to store an XML structure with the customer information (name, address, etc.). Example:

<xml version="1.0" encoding="UTF-8"?>
<shop_account>
  <first-name>Marty</first-name>
  <last-name>McFly</last-name>
  <email>[email protected]</email>
  <street1>7 Lyon Estates</street1>
  <street2>Outside Hill Valley</street2>
  <zip>55532</zip>
  <place>Hill Valley</place>
  <state>California</state>
  <country>USA</country>
  <comment>No comment.</comment>
</shop_account>
data_text_2 string Yes. General purpose text block #2 for the shop account handler. Similar to "data_text_1".
account_identifier string Yes. The account identifier (for example "ez").
created string Yes. A UNIX timestamp pinpointing the exact date/time when the order was created.
ignore_vat string Yes. 1 if the VAT should be ignored, 0 otherwise.
email string Yes. The E-mail address of the buyer.
status_id string Yes. The global ID number of the order's current status.
status_modified string Yes. A UNIX timestamp pinpointing the exact date/time when the status was order's status was last modified.
status_modifier_id string Yes. The ID number of the user who last modified the order's status.
is_archived string Yes. Not documented yet.
status_name string No. The name of the order's current status (for example "Pending").
status object No. The actual order status (as an ezorderstatus object).
status_modification_list array No. The status log as an array of ezorderstatus objects.
product_items array No. Not documented yet.
order_items array No. An array of order items that are associated with the order (as ezorderitem objects).
product_total_inc_vat double No. Not documented yet.
product_total_ex_vat double No. Not documented yet.
total_inc_vat double No. Not documented yet.
total_ex_vat double No. Not documented yet.
user object No. Not documented yet.
account_view_template string No. Not documented yet.
account_information array No. Not documented yet.
account_name string No. Not documented yet.
account_email string No. Not documented yet.
productcollection object No. Not documented yet.

* Indicates whether the attribute provides a pre-fetched value or if it needs to be computed upon request.

Changed in Exponential 6.0.15

The attributes of ezorder as eZOrder::definition() of Exponential 6.0.15 gives them (kernel/classes/ezorder.php):

Attribute Change
siteaccess An attribute in 6.0.15 (field ezorder, string); this page did not list it.
product_items_ordered An attribute in 6.0.15 (function attribute); this page did not list it.
order_info An attribute in 6.0.15 (function attribute); this page did not list it.
receipt_url An attribute in 6.0.15 (function attribute); this page did not list it.
link_url An attribute in 6.0.15 (function attribute); this page did not list it.
siteaccess_name An attribute in 6.0.15 (function attribute); this page did not list it.
store_name An attribute in 6.0.15 (function attribute); this page did not list it.
siteaccess_url An attribute in 6.0.15 (function attribute); this page did not list it.
siteaccess_product_urls An attribute in 6.0.15 (function attribute); this page did not list it.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.