i have been working with drupal 5 and ubercart for a few days and now i want to implement a new functionality to my website:
When i see a product detail i want to display related products on the right sidebar.
So far, i have created a module which displays as a block on the right sidebar and shows content identified by a keyword of a group of words. To test this, I placed some hard code for the keyword in the module but the idea is that this module displays products related to the product the user is seeing at the moment.
Aditionally, i added a field to the product content type: tags.
This tags would be the keywords for displaying related content on the right sidebar.
my question: which is the best way to do this?
thanks in advance
orlando
Comments
If you use taxonomy to
If you use taxonomy to classify your products, you can display a red shirt, for example, then, using a module such as similar_by_terms or one of the scores of taxonomy related modules, display other red products in the sidebar automatically.
----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://davidhertzberg.com
http://association.drupal.org/user/1207
I am a writer, researcher and solo drupal freelancer