Paolo Tatone

Results 3 comments of Paolo Tatone

@kennyadsl @ChristianRimondi @blocknotes we should discuss if this is an issue with Solidus and if it should be addressed there. Otherwise, treating it inside this gem requires the Order model...

```module Order module SwapAddressForms def self.prepended(base) base.before_validation :assign_shipping_to_billing_address, if: :use_shipping? attr_accessor :use_shipping end def assign_shipping_to_billing_address self.bill_address = ship_address if ship_address true end def use_shipping? use_shipping.in?([true, 'true', '1']) end Spree::Order.prepend self...

@blocknotes @kennyadsl I verified that solidus frontend behaves the same way. Should we close this or leave it here as a future improvement?