ibexa

Path

ez publish / technical manual / 3.7 / reference / objects / ezbasket


Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

ezbasket

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.

Balazs Halasy (03/04/2005 9:08 am)

Balazs Halasy (01/04/2007 2:33 pm)

Balazs Halasy, Svitlana Shatokhina


Comments

There are no comments.