【问题标题】:Integrating Shipping with Ruby on Rails将运输与 Ruby on Rails 集成
【发布时间】:2010-03-25 11:46:54
【问题描述】:

在我的购物车中包含运费报价的最佳方法是什么?

我网站的基本流程是这样的

1.) User selects products  
2.) User is shown cart  
3.) repeat 1 and 2 until User wants to pay  
4.) collect user details ( email, address where items will be shipped to )  
5.) make payment via active merchant  
6.) order is submitted to distributor.  

我想插入一个运费信息,以便用户可以通过活跃的商家支付他的购买 + 运费。

1.) User selects products  
2.) User is shown cart  
3.) repeat 1 and 2 until User wants to pay  
4.) collect user details ( email, address where items will be shipped to )  
5.) calculate the cost of shipment, add cost to cart, show to user;
6.) make payment via active merchant  
7.) order is submitted to distributor.

这里是否有 gem 或插件可以帮助我,如果没有...我该如何完成?

谢谢
斯蒂芬

【问题讨论】:

    标签: ruby-on-rails shipping


    【解决方案1】:

    查看 active_shipping gem:

    http://github.com/Shopify/active_shipping

    它是从 Shopify 中提取的另一个(如 ActiveMerchant)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-18
      • 2012-10-14
      • 2019-01-07
      • 2012-03-05
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多