Commit 1dbaa1bd by ivan Lan

Improve meta of snapshot before order being paid

parent 993760e8
......@@ -77,6 +77,10 @@ module Shotengai
define_method(column) { read_attribute(column) || self.series.read_attribute(column) }
end
def meta
read_attribute(column) || series.product.meta.merge(series.meta)
end
# 订单支付后 存储当时信息快照
def copy_info
# cut_stock
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment