Hi David,
Just wondering how would I change my code (new distribution) to stop product mappings being case sensitive ?
Many thanks
Adrian
Hi David,
isn't a better way to change strpos function to stripos, which does exactly the same while being case-insensitive?
Hi David,
stripos is PHP5 only; whereas the above method will work across all versions of PHP, that's the only reason I didn't use it...
Cheers,
David.
Hi Adrian,
In includes/admin.php look for the following code on line 255:
if (strpos($importRecord["name"],$word) !== FALSE) $found++;
...and REPLACE with:
if (strpos(strtolower($importRecord["name"]),strtolower($word)) !== FALSE) $found++;
...that should do the trick!
Cheers,
David.