Jump to content

 

nico

Member Since 28 Aug 2015
Offline Last Active Dec 02 2015 09:57 AM
-----

Posts I've Made

In Topic: Add/update Product Options Via Api

31 August 2015 - 02:07 PM

I am afraid, additional code modifications are required to extend the API in such a way

 

 

so I have no way to set the Options for the product via API without extending them?


In Topic: Set Product Features Via Api

28 August 2015 - 05:19 PM

Hi,

I've found the solution.

        $row['product_features'] = array(
            5 => array(
                'feature_id' => 5,
                'feature_type' => 'M',
                'description' => 'Età',
                'variants'=>array(
                    7 => array(
                        'variant_id' => 7,
                        'variant'=>'0-1 anni',
                    )
                )
            )
        );

Where:

- $row is the array with all the product properties

- 5 is the featureId

- 7 is the variantId

 

In the documentation is not explain very well in my opinion.

 

Thanks.