(Django,Satchmo)开发具有个性化字段/属性的产品/购物车订单项 [英] (Django, Satchmo) Developing products/cart line items with personalized fields/properties

查看:87
本文介绍了(Django,Satchmo)开发具有个性化字段/属性的产品/购物车订单项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究Python / Django,以评估合适的电子商务解决方案。
目前,Satchmo软件包似乎可以提供满足订购产品类型大多数需求的解决方案。

I'm looking into Python/Django to evaluate suitable e-commerce solution. For now Satchmo package seems to deliver solution to satfy most of my needs with Subscription product type.

但是,我仍然有房屋需要满足,我结束了想知道Satchmo或其他适合个性化产品的购物车/商务套餐吗?

However, I still have home requirements to meet and I ended wondering that is Satchmo or some other cart/commerce package suitable for personalized products?

我需要用户填写一些有关订购的个人详细信息,因为订购产品/订单可以分配给其他用户和/或非用户。
最自然的方法是使用户能够在将产品添加到购物车后添加这些详细信息。

I need the user to fill in some "personal details" regarding Subscription since Subscription products/orders can be assigned to other users and/or to non-user. Most natural way would be to enable users to add these details after product has been added to cart.

因此,订单项应具有一个或多个用户参考字段

Line items should therefore have a user reference field or multiple fields in case of a non-user: email, phone,name,dob.

推荐答案

我从未使用过Satchmo,但是< href = http://oscarcommerce.com/ rel = nofollow noreferrer> Django oscar 是一个非常可定制的电子商务框架,可以完成此任务。另外,Satchmo似乎不是一个非常活跃的项目(他们的网站现在关闭,而上一次github提交是在7年前)。

I have never used Satchmo, but Django oscar is a very customizable e-commerce framework that could accomplish this. Also, Satchmo does not seem to be a very active project (their website is down right now, and the last github commit was 7 years ago).

在Django oscar中,您可以创建自定义结帐流程,在其中可以添加自己的步骤来输入这些个人详细信息。

In Django oscar you can create a customized checkout flow, where you could add your own step to enter those personal details.

您可以在此处上了解更多有关自定义视图的信息。 a>

You can read more about customizing views here

另一种方法是,在将产品添加到购物车之前,自定义产品本身以具有其他选项。因此,您必须先指定订阅的收件人,然后再将其添加到购物车。

Another way you could do this, is customize the Product itself to have additional options before you add it to the cart. Therefore you specify the recipient of the Subscription before it is added to the cart.

这篇关于(Django,Satchmo)开发具有个性化字段/属性的产品/购物车订单项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆