Quantcast
Channel: Active questions tagged feed - Stack Overflow
Viewing all articles
Browse latest Browse all 542

How to import XML feed with grandchildren subgroup?

$
0
0

I have this xml feed ...

<products><product><manufacturer_name>2CARS</manufacturer_name><quantity>1081</quantity><price>2.25</price><ean13>8586017592520</ean13><reference>92520</reference><weight>0.01</weight><descriptions>    **<descriptions>**<description>LED Autožiarovka 2LED 12V 5050SMD T10, biela.</description><description_short>LED Autožiarovka</description_short><name>4CARS LED ŽIAROVKA 2LED 12V 5050SMD T10</name>    **</descriptions>**</descriptions><images><image>https://2cars.eu/upload/products-import/hd/92520_01.jpg</image></images><default_category><category_default_name>LED žiarovky</category_default_name></default_category><product_category_tree>Elektro a Hifi > Osvetlenie > LED žiarovky</product_category_tree><hmotnos__>0.0094</hmotnos__><balenie>2 ks</balenie><farba/></product><products>

... and this part of script ...

 {                    $product_description[] = array('product_id'        => $product_id,'lang_id'           => $lang_id,'name'              => (string) $product->name,'url'               => url( (string) $product->name ),'short_info'        => (string) $product->description_short,'description'       => (string) $product->description                    );                }

.. the result is:

can not be imported, I guess because the grandchildren subgroup is hidden to it, but how to let him know to use it.

Please, can anybody help me?


Viewing all articles
Browse latest Browse all 542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>