spree_related_products:Spree Commerce的相关产品扩展

时间:2021-05-05 05:49:47
【文件属性】:
文件名称:spree_related_products:Spree Commerce的相关产品扩展
文件大小:50KB
文件格式:ZIP
更新时间:2021-05-05 05:49:47
Ruby 相关产品 Related Products是扩展,它为您想要维护的每种关系类型定义一个RelationType,为您提供一种通用的方式来定义产品之间的不同类型的关系。 您可以通过管理员配置菜单来管理RelationType,也可以通过编辑产品用户界面上的“相关产品”标签来维护产品关系。 可能的用途 配件 交叉销售 最多卖出 兼容产品 替代产品 保修和支持产品 关系类型 创建RelationType时,可以通过引用related_type名称来访问该组相关产品,请参见以下示例: rt = Spree :: RelationType . create ( name : 'Accessories' , applies_to : 'Spree::Product' ) => # produ
【文件预览】:
spree_related_products-master
----gemfiles()
--------spree_4_2.gemfile(151B)
--------spree_4_1.gemfile(147B)
--------spree_4_0.gemfile(147B)
--------spree_master.gemfile(176B)
--------spree_3_7.gemfile(164B)
----db()
--------migrate()
----.hound.yml(456B)
----lib()
--------spree_related_products.rb(169B)
--------generators()
--------spree_related_products()
----Gemfile(154B)
----Guardfile(715B)
----spec()
--------models()
--------controllers()
--------spec_helper.rb(371B)
--------features()
--------factories()
--------support()
----Rakefile(323B)
----CONTRIBUTING.md(3KB)
----.travis.yml(1KB)
----config()
--------locales()
--------routes.rb(521B)
----LICENSE.md(1KB)
----README.md(3KB)
----.rubocop.yml(100B)
----Appraisals(494B)
----.rspec(40B)
----.gitignore(135B)
----spree_related_products.gemspec(1KB)
----app()
--------views()
--------overrides()
--------models()
--------controllers()
----bin()
--------rails(207B)

网友评论