Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$client->catalogProductTypeConfigurableAssign($session, $configurableProductIdOrSku, $simpleProductIdsOrSkus,
array('color','size'),
array(array(
'key'=>'color',
'value'=>'Color'
),array(
'key'=>'size',
'value'=>'Size'
)),
array(
array(
'key' => 'yellow',
'value' => array(
'pricing_value' => 35,
'is_percent' =>0
),
),
array(
'key' => 'XL',
'value' => array(
'pricing_value' => 20,
'is_percent' => 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.