I have some merchants whose terms require not listing their name even in a display URL. Is there any way to remove specific merchants from displaying in /shops/merchant/?
Sure - in merchants.php, look for the SELECT SQL construction at line 6:
$sql = "SELECT DISTINCT(merchant) FROM `".$config_databaseTablePrefix."products` ORDER BY merchant";
...and here you can add a NOT IN clause to exclude merchants that you do not wish to index; for example:
$sql = "SELECT DISTINCT(merchant) FROM `".$config_databaseTablePrefix."products` WHERE merchant NOT IN ('Merchant 1','Merchant 2','Merchant 3') ORDER BY merchant";
In this case, 'Merchant 1','Merchant 2' and 'Merchant 3' would then be excluded from the index.
Sure - in merchants.php, look for the SELECT SQL construction at line 6:
$sql = "SELECT DISTINCT(merchant) FROM `".$config_databaseTablePrefix."products` ORDER BY merchant";
...and here you can add a NOT IN clause to exclude merchants that you do not wish to index; for example:
$sql = "SELECT DISTINCT(merchant) FROM `".$config_databaseTablePrefix."products` WHERE merchant NOT IN ('Merchant 1','Merchant 2','Merchant 3') ORDER BY merchant";
In this case, 'Merchant 1','Merchant 2' and 'Merchant 3' would then be excluded from the index.
Hope this helps!
Cheers,
David.
--
PriceTapestry.com