|| at May 8, 2013 at 1:37 am
I believe a few of these stock quantity helpers are gone in 2.0. I'm sure
someone will correct me if I am wrong.
I've done the following to get on_hand values for products. Might give you
some ideas on how go do what you are trying to do.
quantifier = Spree::Stock::Quantifier.new(master.id)
inventory = quantifier.total_on_hand
On Tuesday, May 7, 2013 4:05:57 PM UTC-6, Abdullah jeffers wrote:
In my /spree/views/home/index my erb code from 1.3.2 makes reference to the following preference
:show_zero_stock_products, :boolean, :default => true
Its is not available in the 2.0 release. is there and alternative?
Don't miss SpreeConf on May 20-21: http://spreeconf.com
Spree is hiring: http://spreecommerce.com/careers