You are here:  » \ inside the name

Active Forum Topics


\ inside the name

Submitted by Tobix on Tue, 2021-11-30 17:31 in

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

Submitted by support on Wed, 2021-12-01 09:52

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

Submitted by Tobix on Wed, 2021-12-01 17:28

A first impact seems to work! Great :)