ruby on rails - Spree Split order into two shipments if one of the line items is backorder -
i'm creating spree application using spree version 3.1 , i'm facing issue spree split order 2 shipments double shipping cost if line item of order out of stock if i'm using
rails.application.config.spree.stock_splitters = []
which according documentation prevent order splitting
or if don't want split packages set option above empty array. e.g. store following configuration in spree.rb won't have package splitted.
any solution issue ?!
i've solved issue overriding register stock splitter initializer
initializer 'spree.register.stock_splitters' |app| app.config.spree.stock_splitters = [] end
Comments
Post a Comment