Jump to content

Issue - Slide Products in the same category


Recommended Posts

Hi,

 

I use the block "Products in the same category" in the product page. My products have been assosiated in multiple categories such as parent categories (men->t-shirt ) or discount categories. If the customer looks a t-shirt, then in the block "Product in the same category" is appearing a lot of unrelated products from men category, discount category etc. Could you help me to define the block to appear each time only the exact related products in the same category that user has looked at the specific time?

 

 

Thank you in advance

 

George

Link to comment
Share on other sites

Hi George,

this module shows products of the same category. And as you know it a product can be assigned to multiple categories.

The module just select all products from a category based on the current  id category.

 

Hi ndiaga,

 

This module doesn't select only products  on the current id category in my shop. it selects all products from all categories which the current product has been assigned. This happens if the product has only one category.

Could you guide me to implement it in order to appearing only current category products?

 

 

Thank you for your response.

 

BR,

 

George

Link to comment
Share on other sites

  • 1 month later...

The module use the current product id to get the corresponding category id.

You will have to add some code in category.tpl  in order the get the id_category and besed on that id you can select only products of that category.

I solved it..but the module doesn't show the newest related products..how can i do that?

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...