Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/app/models/spree/line_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def set_pricing_attributes
# If the legacy method #copy_price has been overridden, handle that gracefully
return handle_copy_price_override if respond_to?(:copy_price)

self.currency ||= variant.currency
self.currency ||= order.currency
self.cost_price ||= variant.cost_price
self.price ||= variant.price
end
Expand Down