Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$proxy->call($sessionId, 'catalog_product.create', array(
'simple',
'4', // setId
'simple_sku_yellow_XL',
array(
'name' => 'Product name',
'description' => 'Description Text...',
'short_description' => 'Short Description Text...',
'websites' => array(1),
'price' => 100.00,
'color' => $color,
'size' => $size,
'visibility' => 1,
)
);
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.