Class: ProductDrop

Inherits:
Liquid::Simplero::Drop show all
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

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#attachmentsAttachmentDrop

Returns:

#available?Boolean

Returns:

  • (Boolean)

#available_and_in_stock?Boolean

Returns:

  • (Boolean)

#card_imageAssetDrop

Returns:

#cartable?Boolean

Returns:

  • (Boolean)

#cartable_pricesArray<PriceDrop>

Returns:

#count_of_other_people_with_this_product_in_cartInteger

Returns:

  • (Integer)

#coursesCourseDrop

Returns:

#free?Boolean

Returns:

  • (Boolean)

#has_sales_page?Boolean

Returns:

  • (Boolean)

#idInteger

Returns:

  • (Integer)

#internal_nameString

Returns:

  • (String)

#labelsObject

#long_descriptionString

Returns:

  • (String)

#nameString

Returns:

  • (String)

#post_order_form_contentString

Content to show below this product's order form.

Returns:

  • (String)

#pre_order_form_contentString

Content to show above this product's order form.

Returns:

  • (String)

#prelaunch?Boolean

Returns:

  • (Boolean)

#pricePriceDrop

Returns:

#pricesArray<PriceDrop>

Returns:

#purchase_urlString

Returns:

  • (String)

Returns Public, available, and cartable ProductDrops related to the current ProductDrop, minus those already in the cart. @