You are here:  » Product Mapping by EAN

Support Forum



Product Mapping by EAN

Submitted by philstone on Mon, 2011-10-03 21:12 in

Hi David

Trust you are well

as you know I have enabled 'ean' search across all my site in addition to product name, description etc.

Is it possible in the product mapping to ammend the search in admin/productsmap_helper.php, so that as well as searching product terms to find product names similar to a product, I would be able to search ean numbers and bring up the product names that are the same product i'm trying to match, while i know these already appear on the comparison table on the product page, i was just trying to tidy up the search results.

look forward to your response

regards

phil

Submitted by support on Wed, 2011-10-05 10:26

Hello Phil,

Sure - in admin/productsmap_helper.php, look for the following code at line 61:

    $where = implode(" AND ",$wheres);

...and REPLACE with:

    $where = implode(" AND ",$wheres);
    if (count($words)==1)
    {
      $where = " (".$where.") OR ean='".database_safe($q)."' ";
    }

Cheers,
David.
--
PriceTapestry.com

Submitted by philstone on Wed, 2011-10-05 10:42

Perfect David

Thanks!
regards

Phil Stone
www.buy24-7.net

Submitted by philstone on Tue, 2011-10-11 16:01

Hi David

In working through the product feeds on my site, I have come on an issue and was wondering if you could help, sometimes a product in a feed has an incorrect ean number,

Is it possible for mapped products to have an ean field on the /admin page, where if you enter a specific ean number it only allows ean numbers that are either empty (matched because of product name) or products with the same ean number are shown, and products maybe with the correct name but an incorrect ean number are not shown?

eg:

Canon IXUS 1100 HS / ean: 8714574573199 (Black)
Canon IXUS 1100 HS / ean: 8714574573274 (Red)

ideally i need to create 2 product names:

Canon IXUS 1100 HS Black

Canon IXUS 1100 HS Red

but I cant use the product name.

thanks for your time:

regards

Phil Stone
www.buy24-7.net

Submitted by support on Wed, 2011-10-12 09:43

Hi Phil,

Sure - could you email me your config.advanced.php, admin/productsmap_configure.php and includes/admin.php and I'll add an ean override for you...

Cheers,
David.
--
PriceTapestry.com