VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: lukesmith7uk on August 21, 2014, 09:07:40 AM

Title: Create module to view categories a product is in
Post by: lukesmith7uk on August 21, 2014, 09:07:40 AM
Hi there

I want to be able to view a list of categories that a product is in - on the product page. Each category list will therefore be individual to that product. I think that the way to do this would be to create a custom module. Does anyone have any advice or tips on how this can be achieved. I don't see any stock modules that would do the job, so I'm guessing that we would have to create a custom html module?

All the best

Luke
Title: Re: Create module to view categories a product is in
Post by: GJC Web Design on August 21, 2014, 12:59:28 PM
you would need to build a module
detect the product, query the cats it's in and display
Title: Re: Create module to view categories a product is in
Post by: balai on August 21, 2014, 16:49:18 PM
What is the purpose of this?

I assume that you want to display some additional data for categorization of your product.
Have you tried using custom fields?