XML-Quellcode
- <?xml version="1.0" encoding="UTF-8"?>
- -<prestashop xmlns:xlink="http://www.w3.org/1999/xlink">
- -<product>
- <id/>
- <id_manufacturer/>
- <id_supplier/>
- <id_category_default/>
- <new/>
- <cache_default_attribute/>
- <id_default_image/>
- <id_default_combination/>
- <id_tax_rules_group/>
- <position_in_category/>
- <type/>
- <id_shop_default/>
- <reference/>
- <supplier_reference/>
- <location/>
- <width/>
- <height/>
- <depth/>
- <weight/>
- <quantity_discount/>
- <ean13/>
- <isbn/>
- <upc/>
- <cache_is_pack/>
- <cache_has_attachments/>
- <is_virtual/>
- <state/>
- <additional_delivery_times/>
- -<delivery_in_stock>
- <language id="1"/>
- </delivery_in_stock>
- -<delivery_out_stock>
- <language id="1"/>
- </delivery_out_stock>
- <on_sale/>
- <online_only/>
- <ecotax/>
- <minimal_quantity/>
- <low_stock_threshold/>
- <low_stock_alert/>
- <price/>
- <wholesale_price/>
- <unity/>
- <unit_price_ratio/>
- <additional_shipping_cost/>
- <customizable/>
- <text_fields/>
- <uploadable_files/>
- <active/>
- <redirect_type/>
- <id_type_redirected/>
- <available_for_order/>
- <available_date/>
- <show_condition/>
- <condition/>
- <show_price/>
- <indexed/>
- <visibility/>
- <advanced_stock_management/>
- <date_add/>
- <date_upd/>
- <pack_stock_type/>
- -<meta_description>
- <language id="1"/>
- </meta_description>
- -<meta_keywords>
- <language id="1"/>
- </meta_keywords>
- -<meta_title>
- <language id="1"/>
- </meta_title>
- -<link_rewrite>
- <language id="1"/>
- </link_rewrite>
- -<name>
- <language id="1"/>
- </name>
- -<description>
- <language id="1"/>
- </description>
- -<description_short>
- <language id="1"/>
- </description_short>
- -<available_now>
- <language id="1"/>
- </available_now>
- -<available_later>
- <language id="1"/>
- </available_later>
- -<associations>
- -<categories>
- -<category>
- <id/>
- </category>
- </categories>
- -<images>
- -<image>
- <id/>
- </image>
- </images>
- -<combinations>
- -<combination>
- <id/>
- </combination>
- </combinations>
- -<product_option_values>
- -<product_option_value>
- <id/>
- </product_option_value>
- </product_option_values>
- -<product_features>
- -<product_feature>
- <id/>
- <id_feature_value/>
- </product_feature>
- </product_features>
- -<tags>
- -<tag>
- <id/>
- </tag>
- </tags>
- -<stock_availables>
- -<stock_available>
- <id/>
- <id_product_attribute/>
- </stock_available>
- </stock_availables>
- -<accessories>
- -<product>
- <id/>
- </product>
- </accessories>
- -<product_bundle>
- -<product>
- <id/>
- <quantity/>
- </product>
- </product_bundle>
- </associations>
- </product>
- </prestashop>
Hallo
bekomme obigen XML-String als Vorlage vom Webservice geliefert und möchte damit ich Artikel anlegen kann die entsprechenden Nodes bearbeiten. Die sage ich mal einfachen bekomme ich hin aber wie zum Beispiel für die id_tax-Rules bekomme ich das nicht
hin. Kann mir da einer vielleicht helfen was ich da machen muss damit ich den entsprechen Node im String wie unten anpassen kann?
Vielen Dank
Code-Tags eingefügt. Spoiler-Tag eingefügt. ~Thunderbolt
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von „Thunderbolt“ ()