spree

    0热度

    1回答

    在狂欢sign_up的app/models/spree/user.rb有 def set_login # for now force login to be same as email, eventually we will make this configurable, etc. self.login ||= self.email if self.email end 我

    1热度

    1回答

    我想设置货到付款和店内选择作为我的送货选项。所以当用户选择店内取货时,地址被设置为存储位置。 这些都增加了一些项目后,我作出order_decorator.rb Spree::Order.class_eval do remove_checkout_step :payment checkout_flow do go_to_state :delivery go_to_s

    1热度

    1回答

    我使用Rails 4和Solidus 1.2 如何将价格格式化为货币符号的数字之前有一个空格,例如“€99” ? 施普雷/固相线使用Ruby钱宝石来处理货币和我在https://github.com/RubyMoney/money/blob/master/lib/money/money/formatting.rb看到有一个配置选项 Spree::Money.default_formatting_r

    0热度

    1回答

    我有一些变体(根据不同的颜色)产品: 我怎样才能改变左手拇指/图片为产品的每一个变种(颜色)?当我想选择“绿色”的颜色,例如,我想要显示绿色的包,当我选择“红色”红色的包等,等等 谢谢!

    1热度

    2回答

    尝试在新的Rails项目中安装Spree时出现以下错误。我的Rails 4.2.5版安装和Ruby版本2.3.0p0 $ spree install --auto-accept [WARNING] Spree CMD Installer is deprecated. Please follow installation instructions at https://github.com/sp

    0热度

    1回答

    我有一个表格,用于选择has_many through:关系中的关联。它可以工作,但是当发生验证错误时,出于某种原因它会将选择框呈现两次。 relationships.rb(施普雷::产品饰) module Products module Relationships extend ActiveSupport::Concern included do ha

    0热度

    1回答

    我有一个问题用命令 rails g spree:install --user_class=Spree::User 我下面从GitHub施普雷指南:https://github.com/spree/spree ANS我有错误: Uninitialize constant ActiveSupport::EventedFileUpdateChecker 我用ruby 2.3.0,rails 4.

    -1热度

    1回答

    我有一笔付款流,我在银行发票上发送产品,然后确认是否已支付票款。 在大礼包中,我需要确认付款之前确认运输。 有人知道可以帮助我找到一种方法来确认先运送和付款后。 施普雷3.1

    0热度

    1回答

    背景:尝试将狂欢推向heroku。它可以在localhost中运行:3000,但在heroku中没有运气。 推了heroku高手之后,没有错误。但是,当打开heroku它显示应用程序错误。 谁能帮助摆脱了 “错误的参数数目” 当Heroku的打开 Application Error An error occurred in the application and your page could

    1热度

    1回答

    当我在写order_decorator.rb它remove_checkout_step :delivery删除送货地址从我checkout/address页spree3-1稳定分支信息。我的要求是只跳过结帐步骤3页即在图像 给请指导我如何这个问题需要克服。