如何在 satchmo 中使用多个运费值?

发布于 2024-07-11 08:29:22 字数 179 浏览 4 评论 0 原文

已经有一些运输模块,例如 FEDEX、统一费率、单件运输和 UPS,但如何让用户选择其首选的运输方式和/或价格?

对于那些不知道的人,Satchmo 是一个 django 应用程序。

There's already some shipping modules such as FEDEX, Flat Rate, Per pieced and UPS but how can I let the user choose its preferred shipping method and/or price?

For those who don't know, Satchmo is a django app.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你的往事 2024-07-18 08:29:22

arg 我很蠢。

刚刚通过再次浏览运输文件夹并阅读源代码找到了我的答案。

  1. 似乎我必须在 INSTALLED_APPS 列表中添加“satchmo.shipping.modules.tiered”应用程序。
  2. 运行“python manage.pysyncdb”在数据库中添加适当的模型
  3. 使用管理界面在运营商表中添加一些自定义运营商

arrg I'm dumb.

Just found my answer by going through the shipping folder again and by reading the source code.

  1. seems like I have to add the "satchmo.shipping.modules.tiered" app in my INSTALLED_APPS list.
  2. run "python manage.py syncdb" to add the appropriate models in the database
  3. Add some custom carriers in the Carriers table using the admin interface
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文