Class: CartItemDrop

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

Overview

CartItemDrop represents a shopping cart item inside a cart. You can get all cart items for the current user/session using cart.items

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#count_of_other_people_with_this_product_in_cartInteger

Returns:

  • (Integer)

#data_attrsObject

#display_quantityString

Returns text describing the quantity being ordered. If the product is not credits and the quantity is 1, this will return nil.

Returns:

  • (String)

#pricePriceDrop

Returns:

#productProductDrop

Returns:

#quantityInteger

Returns:

  • (Integer)

#update_urlObject