Hello,
I have a problem with the XML file that a get from my warehouse supplier. I'm using a PrestaShop import module to import the file. Every thing looks good until it to specification_attr_name and specification its all together.
Here is a sample of the code:
<item><sku>ANEROS-001096</sku><title>Progasm Prostate Massager in Black Ice</title><manufacturer>Aneros</manufacturer><brand>Aneros</brand><disco>F</disco><description>One of the first, top selling and certainly much-loved prostate massagers to send very pleasurable shock-waves through the industry, the Progasm by Aneros, to this day. Color - Black Ice</description><weight>0.19</weight><upc>894757001096</upc><mpn>Progasm black</mpn><country_of_manufacture>Aneros</country_of_manufacture><image1>[login to view URL]</image1><image2>[login to view URL]</image2><image3>[login to view URL]</image3><image4>[login to view URL]</image4><image5>[login to view URL]</image5><image6>[login to view URL]</image6><wholesale_price>36</wholesale_price><msrp>80</msrp>
<specifications name="anal_toys"><specification name="insertable_length">4.25</specification><specification name="length">5</specification><specification name="width">1.1</specification><specification name="girth">5</specification><specification name="materials">ABS Plastic</specification><specification name="color">Black</specification><specification name="special_features">Hypoallergenic</specification>
Here is what it look like:
specification_attr_name
insertable_length^length^width^girth^materials^color^special_features
specification
4.25^5^1.1^5^ABS Plastic^Black^Hypoallergenic
I would like have this in there own columns. Is there any way to code the module that will be able to read this part of the code. Also this must be a ongoing fix. Not a one time thing. The file is update every day.
If you know how to fix this please let me know.
Nate
Hi,
It require coding changes in import module to handle data in the way you want to post attributes in appropriate column.
I can do this, it going to hardly take few hours if you are interested.
Thanks & Regards
Sandeep Verma