Class: ProductDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- ProductDrop
- Includes:
- ShareableDropConcerns
- Defined in:
- app/drops/product_drop.rb
Overview
ProductDrop represents a product for sale. It is available as product
on product-specific pages and as the collection products
on product listing pages.
Instance Method Summary collapse
- #attachments ⇒ AttachmentDrop
- #available? ⇒ Boolean
- #available_and_in_stock? ⇒ Boolean
- #card_image ⇒ AssetDrop
- #cartable? ⇒ Boolean
- #cartable_prices ⇒ Array<PriceDrop>
- #count_of_other_people_with_this_product_in_cart ⇒ Integer
- #courses ⇒ CourseDrop
- #free? ⇒ Boolean
- #has_sales_page? ⇒ Boolean
- #id ⇒ Integer
- #internal_name ⇒ String
-
#labels ⇒ Object
@ #long_description ⇒ String
- #meta_data ⇒ MetaDataDrop
- #name ⇒ String
- #post_order_form_content ⇒ String
Content to show below this product's order form.
- #pre_order_form_content ⇒ String
Content to show above this product's order form.
- #prelaunch? ⇒ Boolean
- #price ⇒ PriceDrop
- #prices ⇒ Array<PriceDrop>
- #purchase_url ⇒ String
- #related_cartable_products ⇒ Object
Returns Public, available, and cartable ProductDrops related to the current ProductDrop, minus those already in the cart.
- #related_products ⇒ Object
Returns Public and available ProductDrops related to the current ProductDrop, minus those already in the cart.
- #sales_page_assets ⇒ Object
@ #sales_start_at ⇒ Object
- #sales_start_at? ⇒ DateTime
- #short_description ⇒ String
- #sidebar_order_form_content ⇒ String
Content to show on the sidebar of this product's order form.
- #sites ⇒ SiteDrop
- #sold_out? ⇒ Boolean
- #spaces ⇒ SpaceDrop
- #subtitle ⇒ String
- #summary ⇒ String
- #thank_you_page_text ⇒ String
- #url ⇒ String
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#attachments ⇒ AttachmentDrop
#available? ⇒ Boolean
#available_and_in_stock? ⇒ Boolean
#card_image ⇒ AssetDrop
#cartable? ⇒ Boolean
#cartable_prices ⇒ Array<PriceDrop>
#count_of_other_people_with_this_product_in_cart ⇒ Integer
#courses ⇒ CourseDrop
#free? ⇒ Boolean
#has_sales_page? ⇒ Boolean
#id ⇒ Integer
#internal_name ⇒ String
#labels ⇒ Object
#long_description ⇒ String
#meta_data ⇒ MetaDataDrop
#name ⇒ String
#post_order_form_content ⇒ String
Content to show below this product's order form.
#pre_order_form_content ⇒ String
Content to show above this product's order form.
#prelaunch? ⇒ Boolean
#price ⇒ PriceDrop
#prices ⇒ Array<PriceDrop>
#purchase_url ⇒ String
#related_cartable_products ⇒ Object
#related_products ⇒ Object
#sales_page_assets ⇒ Object
#sales_start_at ⇒ Object
#sales_start_at? ⇒ DateTime
#short_description ⇒ String
#sidebar_order_form_content ⇒ String
Content to show on the sidebar of this product's order form.
#sites ⇒ SiteDrop
#sold_out? ⇒ Boolean
#spaces ⇒ SpaceDrop
#subtitle ⇒ String
#summary ⇒ String
#thank_you_page_text ⇒ String
#url ⇒ String