是否可以使用 Ubercart 2 和 Drupal 6 创建价格过滤器?
我目前正在构建一个电子商务网站,以 Drupal 6.21、Ubercart 6.x-2.4 和 Views 6.x-2.12 作为主要组件。我被要求为 ubercart 中的每个产品类别创建一个“按价格缩小”部分,但我似乎不知道如何做到这一点。
例如,过滤器可以是(泰迪熊是主要产品类别)-
所有泰迪熊, 泰迪熊在 0 - 10 英镑之间, 泰迪熊在 10 - 50 英镑之间, 泰迪熊在 50 - 100 英镑之间, 超过 100 英镑。
泰迪熊下有不同的子类别,例如熊、大象等,它们按预期工作,但我不知道如何按上面的方式进行过滤。
我正在使用 Ubercart Advanced Catalog 6.x-1.x-dev 来获得更好的视图集成,但这似乎并不能像我想象的那样帮助解决问题。
感谢您提供的任何帮助,如果您需要更多信息,请询问:-) Adam。
I'm currently building an e-commerce site with Drupal 6.21, Ubercart 6.x-2.4, and Views 6.x-2.12 as the main components. I've been asked to create a "Narrow by price" section for each product category within ubercart, however I can't seem to figure out how to do this.
For instance the filters could be (Teddies is the main product category) -
All teddies,
Teddies between £0 - £10,
Teddies between £10 - £50,
Teddies between £50 - £100,
Over £100.
There are different sub categories under Teddies such as bears, elephants, etc which is working as expected, however I can't figure out how to filter as above.
I'm using Ubercart Advanced Catalog 6.x-1.x-dev to get better Views integration however this doesn't seem to help with the problem as I thought it might.
Thanks for any help you can give, and if you need more info please ask :-) Adam.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为你应该尝试 http://drupal.org/project/uc_views,我没有经验使用 ubercart 高级目录,但这是一个很棒的模块,可以向视图公开大量信息,其中一些是产品价格,因此您应该能够构建您想要的任何列表。
我假设您知道如何使用视图。
I think you should try http://drupal.org/project/uc_views, I don't have experience with ubercart advanced Catalog, but that's a great module to expose a lot information to views, some of which are the product prices, so you should be able to build any listing you want.
I am assuming you know how to work with views.