Class: PriceDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/price_drop.rb

Overview

PriceDrop represents price of ProductDrop

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#available_quantity ⇒ Boolean

Returns:

  • (Boolean)

#cartable? ⇒ Boolean

Returns:

  • (Boolean)

#description ⇒ String

Returns:

  • (String)

#has_installments? ⇒ Boolean

Returns:

  • (Boolean)

#id ⇒ Integer

Returns:

  • (Integer)

#list_price_money_in ⇒ Integer

Parameters:

  • currency —

    optional, defaults to product's default currency

Returns:

  • (Integer)

#min_quantity ⇒ Boolean

Returns:

  • (Boolean)

#price_type ⇒ Boolean

Returns:

  • (Boolean)

#public_name ⇒ String

Returns:

  • (String)

#purchase_url ⇒ String

Returns:

  • (String)

#quantity_options? ⇒ Boolean

Returns true if the user can choose from different quantities, false otherwise.

Returns:

  • (Boolean)

#replaces_price ⇒ PriceDrop

Returns: