Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$proxy->catalogProductCreate($sessionId, 'simple', '4', 'simple_sku_yellow_XL',
array(
'name' => 'Product name',
'description' => 'Description Text...',
'short_description' => 'Short Description Text...',
'websites' => array(1),
'price' => 100.00,
'visibility' => 1,
'additional_attributes' => array('single_data' => array(array(
'key' => 'color',
'value' => $color
),array(
'key' => 'size',
'value' => $size
)))
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.