package Podius::Component::Product; use base 'Podius::Component::ItemPage'; use Podius::Property::Scalar; use Podius::Property::BigScalar; use Podius::Property::Text; use Podius::Property::ScalarTable; use Podius::Property::Image; use Podius::Property::RComponentCollection; sub get_own_property_types () { return [ [ model => 'Scalar' ], [ colors => 'Scalar' ], [ flavors => 'Scalar' ], [ add_ons => 'Scalar' ], [ price => 'Number' ], [ sale_price => 'Number' ], [ remarks => 'BigScalar' ], [ icon => 'Image', 'images/auto/Product/default1.gif', 'Default Label' ], [ large_image => 'Image', 'images/auto/Product/default2.gif', 'Default Label' ], [ small_image => 'Image', 'images/auto/Product/default3.gif', 'Default Label' ], [ card_ids => 'ScalarTable', [ 'Color', 'Size/Flavour', 'Card ID' ] ], [ r_products => 'RComponentCollection', 'Publishable' ], [ page_name => 'Scalar' ], [ meta_description => 'BigScalar' ], ]; } sub get_new_property_types () { return [ ]; } 1;