Jump to content
REIBI

Problem with Product category module

Recommended Posts

Hey everyone,

I am having some problem with Product category module in Prestashop Latest version 1.5.3. It is okay if the product is not shown in home. It shows the products from the same category but when the product is shown in the featured section then it just missed up.

 

How can I fix this problem?? Please help anyone asap.

 

Thankyou

Share this post


Link to post
Share on other sites

Hello,

 

this is not a problem. It's written in to the code to skip the product while on the same product page or product is already being shown via another module. You can try to alter the code. Go to module "productscategory" -> productscategory.php and delete the following rows.

				foreach ($categoryProducts AS $key => $categoryProduct)
					if ($categoryProduct['id_product'] == $id_product)
					{
						unset($categoryProducts[$key]);
						break;
					}

Just make a backup and try it.

P.S I just noticed that this thread is almost a year old but maybe it will be useful for someone else :)

 

BR's

Edited by senso321 (see edit history)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More