标签: spree
我正在尝试扩展Spree :: Adjustable :: Adjuster,如指南(http://guides.spreecommerce.org/developer/adjustments.html)中所述。方向并不难以遵循,我跟着他们去了T但是我收到了以下错误:
`<module:Adjuster>': uninitialized constant Spree::Adjustable::Adjuster::Base (NameError)
答案 0 :(得分:1)
您使用的是什么版本的Spree?
此功能已在3.1中添加。
https://github.com/spree/spree/blame/3-1-stable/core/app/models/spree/adjustable/adjuster/base.rb
https://github.com/spree/spree/blame/master/guides/content/developer/core/adjustments.md#L99-L146