UberCart:服务产品和住宿?
处理“服务”产品的最佳方式是什么? 例如,假设我是一名画家,希望在也销售画笔和油漆的网站上宣传这些服务。 现在,我可以轻松地将画笔和油漆设置为以 X 和 Y 数量出售的产品。 但是,当创建一个名为“粉刷你的房子”的产品时,给它一个价格或数量等是没有意义的。
换句话说,我需要一种方法来通用地定义一个“服务节点”,以便客户可以“下订单”,但实际上,它只是向我发送一条通知,说某位用户有兴趣让我做他的油漆工作。
当然,我可以只创建一个名为“服务”的节点类型,实际上它可以包含所有字段。 但最理想的情况是让它与 UberCart 挂钩。
另外,我想知道建立“住宿”字段的最佳方法是什么。 即,人们可以预订“房间”,或者基本上索取酒店一晚的报价(随着价格的变化),而不是产品。
到目前为止,我对整个场景的唯一解决方案是:
- 让 ubercart 管理产品(画笔)
- 为“服务”创建一个节点
- 找到其他一些模块,或者简单地为“住宿”创建一个节点。
- 模仿 (2) 和 (3) 提供与 UberCart 类似的结帐流程
有人可以建议一种更好的方法,让我可以使用 UberCart 来满足 (2) 和 (3) 的需求吗?
What is the best way to deal with "service" products. For example, let's say I'm a painter and wish to advertise these services on a site that also sells paint brushes and paint. Now, the paint brushes and paint I can easily set up as products that are sold for X and Y amount. But when creating a product called "Painting your house", it doesn't make sense to give it a price, or a quantity etc.
In other words, I need a way to generically define a "service node" so that clients can "place orders" but in actual fact, it will just send a notification to me, saying that user so and so is interested in letting me do his paint job.
I can of course, just create a node type called "service" and this could in actual fact just have all the fields on it. But what would be ideal is to have it hook into UberCart.
Also, I was wondering what is the best way to go about setting up an "accommodation" field. I.e. Instead of a product, people can book "rooms" or basically request a quotation on a night in a hotel (as prices change).
So far the only solution I have for this whole scenario is to:
- Let ubercart manage products (paint brushes)
- Create a node for "services"
- Find some other module or simply also create a node for "accomodation".
- Mimic (2) and (3) to provide a similar checkout process as UberCart
Can anybody suggest a better way that i can instead use UberCart to cater for (2) and (3)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它们不是完整的解决方案,但对此我想到了两个模块:
Ubercart 的注册集成 模块允许您在节点上出售注册,并让用户在结账时填写个人资料字段(例如姓名、电子邮件等)。 这对于销售酒店房间尤其有帮助。
UC Node Checkout 模块非常适合销售与您想要收集的产品类似的非产品更多信息。 有一个关于它的很棒的 Drupal Easy 教程。
They aren't complete solutions, but two modules come to mind on this:
The Signup integration for Ubercart module allows you to sell signups on a node and has the users fill in profile fields during checkout (like, name, e-mail etc.). This could be helpful particularly for selling the hotel rooms.
The UC Node Checkout module is great for selling non-products that are kinda like products where you want to gather more information. There is a great Drupal Easy tutorial about it.