Skip to the content
Documentation

ezbasket

No ratings yet
Summary

Contains information about a user's shopping basket.

Persistent

Yes.

Attributes
Attribute Type Description
id string The ID number of the shopping basket.
session_id string The ID of the session that the basket belongs to.
productcollection_id string The ID number of the product collection that belongs to the basket.
order_id string The ID number of the order that belongs to the basket.
items array

An array of hashes containing information about the items. Each element consists of the following data:

Attribute Type Description
id string The ID number of the item in the basket.
vat_value string The actual value of VAT (for example, 22).
item_count string The quantity.
node_id string The ID number of the node that represents the item.
object_name string The name of the object that represents the item.
price_ex_vat double The price of the item excluding the VAT.
price_inc_vat string The price of the item including the VAT.
discount_percent string The discount percentage (if any).
total_price_ex_vat double The total price excluding the VAT.
total_price_inc_vat double The total price including the VAT.
item_object object The item itself (as an ezproductcollectionitem object).
total_ex_vat float The total amount to be payed excluding the VAT.
total_inc_vat float The total amount to be payed including the VAT.
is_empty boolean Returns TRUE if there are no items in the basket, FALSE otherwise.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.