You are here:  » Only show product slected categories reverse mapping


Only show product slected categories reverse mapping

Submitted by wesse249 on Wed, 2015-12-23 09:10 in

Hello David,

Is it possible to show only the product from the categories which you have slected at reverse mapping?

Thank you.

Jan Roel

Submitted by support on Wed, 2015-12-23 14:05

Hello Jan,

Sure - in search.php look for the following code at line 20:

  $priceWhere = "";

...and REPLACE with:

  $priceWhere = " AND categoryid <> '0' ";

(note that Category Hierarchy Mapping is only applied at import time so after making any changes you would then need to do a full import of any affected feeds for the products to appear on the front-end...)

Cheers,
David.
--
PriceTapestry.com