Submitted by Tobix on Tue, 2021-11-30 17:31 in Price Tapestry
Hi David, how can I resolve for products that use \ inside the name? If I type for example CSTG 272DE / 1-11 it tells me product not found even though I know that this is in the database. In fact, if I type: CSTG 272DE is found.
Thank you
That is because the version of the product name used by the basic search is based on the normalised name with characters like "/" removed but this can be safely changed to be the full name. To try this, edit includes/admin.php and look for the following code at line 468:
Hello Tobix,
That is because the version of the product name used by the basic search is based on the normalised name with characters like "/" removed but this can be safely changed to be the full name. To try this, edit includes/admin.php and look for the following code at line 468:
$searchName = tapestry_search($normalisedName);
...and REPLACE with:
$searchName = tapestry_search($importRecord["name"]);
(and then re-import to apply the changes...)
Cheers,
David.
--
PriceTapestry.com