app/models/caboose_store/variant.rb in caboose-store-0.0.39 vs app/models/caboose_store/variant.rb in caboose-store-0.0.40
- old
+ new
@@ -17,9 +17,10 @@
:product_id,
:barcode, # Returns the barcode value of the variant.
:price, # Variant’s price.
:ignore_quantity,
:quantity,
+ :quantity_in_stock,
:allow_backorder, # Whether to allow items with no inventory to be added to the cart
:status, # Current status: active, inactive, deleted
:weight, # The weight of the variant. This will always be in metric grams.
:length, # Length of variant in inches
:width, # Width of variant in inches