Hi David,
Before starting development on a new site I think it's wise to ask you some advice.
> I want to build a niche site for Wacom tablets
> Working with about 20 merchant feeds.
> Each feed has 2000 / 8000 products
> I only need about 10 / 30 products (the wacom tablets only) from each feed
> I have the EAN codes for the products I need from the feeds
My questions are:
> Do I need niche mode for this? Does it drop all not matching products?
> I think I need EAN product matching as the names for the products vary for each merchant, do I need it? And if so, how to setup EAN matching?
> Do I need to use product mapping?
Thanks again.. I really appreciate your feedback!
Bas
Hi David,
Thanks for your input.
Did some testing with product mapping on model number, doesn't seem to work on all products.
>Some products in feed A match while others don't
>None of the products of feed B match.
>Strange thing, after that I tried field mapping on =Product name for feed B, also without success.
So I suppose that to do matching on the model number it must be in name or description field, right?
Thanks again!
Bas
Hi Bas,
Regarding the =Exact Match was that using the Product Mapping helper tool?
Keyword product mapping by default only operates against the name field; but it's easy to convert the script to test against description also. To do this, look for the following code at line 288 of includes/admin.php:
if (strpos($importRecord["name"],$word) !== FALSE) $found++;
...and REPLACE with:
if (
(strpos($importRecord["name"],$word) !== FALSE)
||
(strpos($importRecord["description"],$word) !== FALSE)
)
$found++;
Further, it can be made case-insensitive by using stripos in place of strpos in the above...
Hope this helps!
Cheers,
David.
--
PriceTapestry.com
Hi David
Can niche mode also works with conjunction of category mapping? Because I am making new niche site of computer parts which can potentially have around 500,000 products. Mapping at product level will be very difficult task.
some of my feeds contains non-computer products which needs to be removed.
What do you suggest?
Hi,
Sure you could make niche mode apply to category mappings rather than product mappings. In includes/admin.php look for the following code around line 318:
if (!in_array($importRecord["name"],$admin_importProductMappings)) return;
...and REPLACE with:
if (!in_array($importRecord["category"],$admin_importCategoryMappings)) return;
Cheers,
David.
--
PriceTapestry.com
Hi David
Can we apply both rules, so that niche mode work in conjunction with both product or category mapping.
Should it be like replacing with following code in includes/admin.php ?
if (!in_array($importRecord["name"],$admin_importProductMappings)) return;
OR if (!in_array($importRecord["category"],$admin_importCategoryMappings)) return;
will is work with wordpress site too?
Regards
Hassan
Hello Hassan,
Sure, the replacement code would be:
if (
(!in_array($importRecord["name"],$admin_importProductMappings))
&&
(!in_array($importRecord["category"],$admin_importCategoryMappings))
)
return;
Yes, this will affect WordPress as Niche Mode is an import time process and restricts which products are imported; which will therefore result in those being the products seen by the plugin...
Cheers,
David.
--
PriceTapestry.com
Hi David
I did replace the code (see below) but I am getting error when i browser to admin page.
Error:
Parse error: syntax error, unexpected T_RETURN in /home/fstorec1/public_html/zeesh.com.au/pt/includes/admin.php on line 323
/* niche mode */
if ($config_nicheMode)
{
if (
(!in_array($importRecord["name"],$admin_importProductMappings)
&&
(!in_array($importRecord["category"],$admin_importCategoryMappings)
)
return;
}
Regards
Hassan
Sorry about that, Hassan - there was a bracket missing from the end of each of the conditions in the IF statement; corrected in the modification described above;
Cheers,
David.
--
PriceTapestry.com
Hello Bas,
Yes - Niche Mode works in conjunction with Product Mapping, and only imports products that have a Product Mapping set-up. That doesn't mean that actually have to have entered alternatives for the product name - the Alternatives box can be left empty on the configuration page for the mapping, it just needs to exist, that's all.
For a very niche site like this I would actually advise against complicating matters with EAN matching and instead concentrate on your product mapping - it's possible that it will be very straight forward just requiring a model number entering as a single alternative, but otherwise =Product Name exact matches can be used. This will ensure that your product pages contain all merchants together under the same product name without multiple product page URLs for example...
Cheers,
David.
--
PriceTapestry.com