Drupal 7 Ubercart,基于产品的外部文章中显示的自定义块
我目前正在使用 Drupal 和 Ubercart 模块创建一个电子商务网站,对于每个产品,我需要选择显示与该特定产品相关的文章(博客/故事)。我还需要文章页面来显示相关产品。我最初打算通过分类法来做到这一点,即使用标签链接产品和文章并使用必要的过滤器创建块,但我认为随着产品目录的增长,这会变得混乱。我知道我可以创建一个自定义字段并编写自己的 sql 查询来获取相关内容并显示它,但我想知道是否有任何内置功能(或模块)可以让我将文章链接到产品在产品创建过程中。就像添加产品屏幕上的下拉菜单一样,我可以在其中选择相关文章。
我查看了许多模块规格和论坛帖子,但似乎找不到此类问题的解决方案。
任何指示将不胜感激。
I'm currently creating an ecommerce site using Drupal and the Ubercart module, for each product I need to have the option to display an article (blog/story) that relates to that specific product. I also need the article pages to display related products. I initially intended to do this via taxonomy, i.e. using tags to link the products and articles and creating blocks with the necessary filters but I thought that this would become messy as the product catalog grows. I know that i could just create a custom field and write my own sql queries to grab the relevant content and display it but i was wondering if there's any built in functionality (or modules) that would enable me to link an an article to a product during the product creation process. Like a drop down menu on the add product screen where i could select and relevant article.
I've looked over many module specs and forum posts but can't seem to find a solution to this kind of problem.
Any pointers would be very much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用参考模块来引用其他节点或用户。
安装此模块,然后添加此=参考的模块类型。
注释:
Use the References module for referencing to other nodes or users.
Install this module, then add module type of this = Reference.
Notes: