You are here:  » Import product with same name problem

Support Forum



Import product with same name problem

Submitted by italiano28 on Wed, 2008-02-06 02:23 in

Hello,nice script,i have just a problem,when i import a feed with multiple identic names title (ex: flight to roma there is 2000 identic name titles with different prices for the same merchant),the clones isn't added to the database (ex:feed has 21000 products and are imported 2000),i try to put description in the name field to test if with different title names the import work successifull and it work so with different name all product in the feed is imported but with same title isn t.But i can t put the description in name field,how can i do to import it if the title name is the same? Thank you and sorry for my bad english. My site is the same in my email {link saved} ,and admin is not protected if you want test it,the xml file is named lastminuteviaggi.xml.TY

Submitted by support on Wed, 2008-02-06 08:25

Hi,

Wherever you have duplicate product names, you need to have some way of making them different.

Like you have tried, using the description instead works, but this is not a good way.

Instead, what you need is another field in the feed that you can combine with the product name to make them all different. For example, is there an ID field in your feed? If there is, you can add the ID to the product name with the "Text After" filter.

If the ID field is called "ID" in the feed, then after registering, click "Filters", and then add a "Text After" filter to the Product Name field. Then, on the configuration page for the filter, add the following text:

 %ID%

^---NOTE THE SPACE AT THE FRONT!

This will append the ID to each product name and make them all unique!

Hope this helps,
Cheers,
David.

Submitted by apa on Tue, 2008-11-04 16:12

Is there a way of hiding the %ID% then? It really looks awful on the site

Kind regards,
Anders

Submitted by support on Tue, 2008-11-04 16:18

Hi Anders,

%ID% is a placeholder with the filters, it would be replaced by the contents of a field in the feed (for that record) with the name ID - so you need to use something appropriate to your feed in the placeholder instead, for example %ISBN% or %AUTHOR%...

Cheers,
David.