NAME

Interchange6::Schema::Result::CartProduct

DESCRIPTION

Holds products for related Interchange6::Schema::Result::Cart class and links to the full product details held in Interchange6::Schema::Result::Product.

ACCESSORS

cart_products_id

Primary key.

carts_id

Foreign key constraint on "carts_id" in Interchange6::Schema::Result::Cart via "cart" relationship.

sku

Foreign key constraint on "sku" in Interchange6::Schema::Result::Product via "product" relationship.

cart_position

Integer cart position.

quantity

The integer quantity of product in the cart. Defaults to 1.

created

Date and time when this record was created returned as DateTime object. Value is auto-set on insert.

last_modified

Date and time when this record was last modified returned as DateTime object. Value is auto-set on insert and update

RELATIONS

cart

Type: belongs_to

Related object: Interchange6::Schema::Result::Cart

product

Type: belongs_to

Related object: Interchange6::Schema::Result::Product