Jump to content
Sign in to follow this  
mustafallah

Импорт товаров из XML

Recommended Posts

Всем привет!

 

Ребята подскажите пожалуйста рабочий модуль импорта товаров из XML. вот пример файла...

 

Помогите пожалуйста!

<?xml version="1.0" encoding="UTF-8"?>
<bau_ca date="2015-08-02 00:28">
	<groupProduct name="02 Сантехника">
		<element_list>
			<element code="х9999027400" id="009723">
				<name><![CDATA[Унитаз-компакт VITRA S20 9800B003-1209 плавное опускание]]></name>
				<price>9293</price>
				<edizm>шт</edizm>
				<balance>1</balance>
				<balanceCount>8</balanceCount>
				<category>Унитазы</category>
				<place_in_the_collection>Напольные</place_in_the_collection>
				<producer_brand>Vitra</producer_brand>
				<country_of_manufacture>Турция</country_of_manufacture>
				<BaseValue>Фаянс</BaseValue>
				<DesignValue>Современный стиль</DesignValue>
				<ColorValue>Белый</ColorValue>
				<warrantysuper>Санфаянс 10 лет</warrantysuper>
				<pic>ftp://ftp_drive_d_r:[email protected]:41/12579c08-c2e9-11e2-g</pic>
			</element>
			<element code="х9999027404" id="009725">
				<name><![CDATA[Унитаз подвесной VITRA S20 5507B003-6066 (52 см) микролифт]]></name>
				<price>6579</price>
				<edizm>шт</edizm>
				<balance>1</balance>
				<balanceCount>5</balanceCount>
				<category>Унитазы</category>
				<place_in_the_collection>Подвесные</place_in_the_collection>
				<producer_brand>Vitra</producer_brand>
				<country_of_manufacture>Турция</country_of_manufacture>
				<BaseValue>Фаянс</BaseValue>
				<DesignValue>Современный стиль</DesignValue>
				<ColorValue>Белый</ColorValue>
				<warrantysuper>Санфаянс 10 лет</warrantysuper>
				<pic>ftp://ftp_drive_d_r:[email protected]:41/1a0b64bd-c2e9-11e2-941f-005056ad2cf4%23v8_3_48cf.jpeg</pic>
			</element>
			<element code="х9999068075" id="034020">
				<name><![CDATA[Подвесной безободковый унитаз VITRA S50 Rim-ex 5740/7740B003-0075 52см, белый]]></name>
				<price>5225</price>
				<edizm>шт</edizm>
				<balance>1</balance>
				<balanceCount>4</balanceCount>
				<category>Унитазы</category>
				<place_in_the_collection>Подвесные</place_in_the_collection>
				<producer_brand>Vitra</producer_brand>
				<country_of_manufacture>Турция</country_of_manufacture>
				<ColorValue>Белый</ColorValue>
				<pic>ftp://ftp_drive_d_r:[email protected]:41/3c1c27d4-c920-4a3a-922b-d79e4fc1889a%23v8_3_43bd.jpeg</pic>
			</element>
			<element code="х9999027383" id="009314">
				<name><![CDATA[Унитаз подвесной VITRA Form 500 4305B003-6067 микролифт]]></name>
				<price>9515</price>
				<edizm>шт</edizm>
				<balance>0</balance>
				<category>Унитазы</category>
				<place_in_the_collection>Подвесные</place_in_the_collection>
				<producer_brand>Vitra</producer_brand>
				<country_of_manufacture>Турция</country_of_manufacture>
				<BaseValue>Фаянс</BaseValue>
				<DesignValue>Современный стиль</DesignValue>
				<ColorValue>Белый</ColorValue>
				<warrantysuper>Санфаянс 10 лет</warrantysuper>
				<pic>ftp://ftp_drive_d_r:[email protected]:41/d4fe79a8-c2e8-11e2-941f-005056ad2cf4%23v8_3_48bc.jpeg</pic>
			</element>
			<element code="х9999030551" id="008607">
				<name><![CDATA[Раковина для тумбы ROCA The Gap 327470000 (80 см) белая]]></name>
				<price>6155</price>
				<edizm>шт</edizm>
				<balance>1</balance>
				<balanceCount>9</balanceCount>
				<category>Раковины</category>
				<place_in_the_collection>Встраиваемые</place_in_the_collection>
				<producer_brand>Roca</producer_brand>
				<country_of_manufacture>Испания</country_of_manufacture>
				<BaseValue>Керамика</BaseValue>
				<ColorValue>Белый</ColorValue>
				<pic>ftp://ftp_drive_d_r:[email protected]:41/327d87fa-ee12-11e2-9350-005056ad2cf4%23v8_2E_180a.jpeg</pic>
			</element>

Share this post


Link to post
Share on other sites

полагаю - только разработка в частном порядке поможет.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.