Jump to content
- Community Forums
You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality.
nico hasn't added any friends yet.
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?
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.