Jump to content

How to write a new module showing in specified category or product?


ed0522

Recommended Posts

I want to write a module and I want this module can show in specified category or products.

 

For example, I want to add a comment module just in the T-shirt category, not in other products. 

 

You know, if we use hook or override in a product page, all the product page will show the module. I don't want this. I want the module can be showed in a specified product.

 

Can someone help me find a way to achieve it?

Edited by ed0522 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...