cost 182 ms
Spree Commerce供应商列表页[NoMethodError:#的未定义方法&#39;each&#39; <Class:…> ] - Spree Commerce Vendors Listing Page [NoMethodError : undefined method `each' for #<Class:…>]

我正在创建一个视图,列出所有使用Spree Commerce的 Spree Multi Vendor扩展的供应 商 。 我的index.html.erb模板: 我的stores_controller.rb控制器: 我得到的错误: Spree :: Stores#i ...

有没有办法计算购物车中特定产品的单位数?(Spree rails) - Is there a way to get count of units of a specific product present in the cart?(Spree rails)

我似乎找不到计算购物车中添加的特定产品的方法。 我尝试过simple_current_order.item_count但它提供了整个购物车项目的数量。 我希望它是一些方法count_quantity_in_cart(@product),它返回整数作为结果 ...

没有路线匹配{:action =&gt;“ show”,:controller =&gt;“ spree / taxons”,:id =&gt; nil} - No route matches {:action=>“show”, :controller=>“spree/taxons”, :id=>nil}

您好RoR程序员, 升级到Rails 5.1.5后,我陷入了自定义的狂欢应用程序代码中带来的错误。 puma记录了此错误: 故障安全响应期间出错:没有路由匹配{:action =&gt;“ show”,:controller =&gt;“ spree / taxons”,: ...

#的未定义方法`override_actionmailer_config =&#39; <Spree::AppConfiguration:0x000000092faba8> (NoMethodError) - undefined method `override_actionmailer_config=' for #<Spree::AppConfiguration:0x000000092faba8> (NoMethodError)

我目前正在将我的应用程序从Rails 3.2升级到Rails 4.2 我也将Spree从2.0升级到3.1我正在关注本教程 我已经解决了其他依赖关系,但仍然出现此错误: #&lt;Spree :: AppConfiguration:0x000000092faba8&gt;的 ...


排序:
质量:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM