You are here:  » 2 Search results with same name


2 Search results with same name

Submitted by philstone on Mon, 2015-08-03 09:55 in

Hi David

Trust you are well

I Have started going through all my mapped products and have realised that there are two results for many mapped products

eg when i search for {link saved}

the two results are for the same product

Russell Hobbs 20230 Black, Illumina Jug Blender - {link saved}

Russell Hobbs 20230 Black, Illumina Jug Blender - {link saved}

and at the top of the search page it says: Product search results for 20230 (showing 1 to 2 of 2)

just wondering what would be causing this issue?

thanks

Phil

Submitted by support on Mon, 2015-08-03 10:58

Hello Phil,

That's strange - please could you possibly add a little debug code to the price comparison table to display the search_name field (which is what the grouping field) by edit html/prices.php and look for the following inline PHP code:

<?php print $product["original_name"]; ?>

...and REPLACE with:

<?php print $product["original_name"].(isset($_GET["debug"])?"[".$product["search_name"]."]":""); ?>

If you could let me know when that's online by dropping me an email and also attaching;

search.php
includes/admin.php

...and I'll check it out further for you...

Cheers,
David.
--
PriceTapestry.com