You are here:  » XML file: merge some fields

Support Forum



XML file: merge some fields

Submitted by achatguitare on Tue, 2010-02-16 22:25 in

Hello,

I have this XML structure style from a merchant:

<produit>
<categorie0>froid</categorie0>
<famille1>Cave à vin</famille1>
<reference2>WKES4176</reference2>
<marque3>LIEBHERR</marque3>
<disponibilite4>10 à 20 jours</disponibilite4>
<prix5>1424.99</prix5>
<petite_img6>http://www.electromust.com/img/univers/froid/caveavin/p/WKES4176.jpg</petite_img6>
<grande_img7>http://www.electromust.com/img/univers/froid/caveavin/g/WKES4176.jpg</grande_img7>
<lien_produit8>http://track.effiliation.com/servlet/effi.redir?id_compteur=11179155&amp;url=http://www.electromust.com/electromenager/cave-a-vin-liebherr-WKES4176/5-408----------effil1.html</lien_produit8>
<description9>Volume net total: 401 litres, Type de cave: vieillissement, Nombre de bouteilles: 168, Type de porte: pleine réversible, Couleur: inox</description9>
<eco_taxe10>13</eco_taxe10>
<frais_de_port11>GRATUIT</frais_de_port11>
<Argument112>Livraison Paris &amp; Province gratuite, garantie 2 ans gratuite. 8 Magasins en Ile de France</Argument112>
</produit>

I would like to merge "reference2" + "marque" in only one field;
Could it be possible to do that in the Price Tapestry Admin ?

David

Submitted by support on Wed, 2010-02-17 10:33

Hi David,

Sure - the Text After / Text Before filters support placeholders, whereby you can refer to the value of any field in the current record using %FIELDNAME%. For example, if you have reference2 registered, and you want to add marque3 after it, add a Text After filter containing:

" %MARQUE3%"

(without the quotes, but note the leading SPACE which is important otherwise there would be no space between the fields...)

Hope this helps!

Cheers,
David.

Submitted by achatguitare on Wed, 2010-02-17 22:26

Thanks David,

Sorry but my English is not really perfect...
I dont really understand. How can I change it ? In the admin of the comparison price script ?

Sorry again,

David

Submitted by support on Thu, 2010-02-18 10:04

Hello David,

Sorry, yes - in /admin/, next to the feed, click Filters, then you will see the options...

Here is more info:

http://www.pricetapestry.com/node/321

Cheers,
David.