Jump to content

webservice product features


Recommended Posts

I am trying to write a customize value in a product feature , throuh API xml.
But no runs:

<prestashop>
    <product>
        <id>" & $PRODUCT_ID & "</id>
        <active>1</active>
        <additional_delivery_times>1</additional_delivery_times>
        <condition>used</condition>
         
          <product_features>
            <id>1</id>
            <id_feature></id_feature>
            <custom>1</custom>
                <value>
                 <language id='1'>subi1</language>
                 <language id='2'>subi2</language>
                </value>
           </product_features>

        
        <available_for_order>1</available_for_order>
        <id_tax_rules_group>1</id_tax_rules_group>
        <link_rewrite>maquina-" & product::referencia & "</link_rewrite>
        <price>" & $PRODUCT_PRICE & "</price>
        <id_category_default>8</id_category_default>
        <show_price>1</show_price>
        <state>1</state>
        <pack_stock_type>3</pack_stock_type>
        <minimal_quantity>1</minimal_quantity>
        <name>Máquina " & product::referencia & "</name>
        <reference>" & product::referencia & "</reference>
        <redirect_type>301-category</redirect_type>
    </product>
</prestashop>

 

 

Any idea ?
Thanks.

Link to comment
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
×
×
  • Create New...