NAME

Interchange6::Schema::Result::Product

TABLE: products

ACCESSORS

sku

data_type: 'varchar'
is_nullable: 0
size: 32

name

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

short_description

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 500

description

data_type: 'text'
default_value: (empty string)
is_nullable: 0

price

data_type: 'numeric'
default_value: 0.0
is_nullable: 0
size: [10,2]

uri

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 255

weight

data_type: 'numeric'
default_value: 0.0
is_nullable: 0

priority

data_type: 'integer'
default_value: 0
is_nullable: 0

gtin

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

canonical_sku

data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 32

active

data_type: 'boolean'
default_value: true
is_nullable: 0

inventory_exempt

data_type: 'boolean'
default_value: false
is_nullable: 0

METHODS

path

Produces navigation path for this product. Returns array reference in scalar context.

PRIMARY KEY

RELATIONS

cart_products

Type: has_many

Related object: Interchange6::Schema::Result::CartProduct

group_pricings

Type: has_many

Related object: Interchange6::Schema::Result::GroupPricing

inventory

Type: might_have

Related object: Interchange6::Schema::Result::Inventory

media_displays

Type: has_many

Related object: Interchange6::Schema::Result::MediaDisplay

media_products

Type: has_many

Related object: Interchange6::Schema::Result::MediaProduct

merchandising_products_skus

Type: has_many

Related object: Interchange6::Schema::Result::MerchandisingProduct

Type: has_many

Related object: Interchange6::Schema::Result::MerchandisingProduct

Type: has_many

Related object: Interchange6::Schema::Result::NavigationProduct

orderlines

Type: has_many

Related object: Interchange6::Schema::Result::Orderline

products_attributes

Type: has_many

Related object: Interchange6::Schema::Result::ProductAttributes

product_attributes

Type: many_to_many

Composing rels: "products_attributes" -> product_attribute