|
@@ -41,6 +41,7 @@ class Set
|
|
|
$result[$i]['select'] = 2;
|
|
|
$result[$i]['del'] = 1;
|
|
|
if ($type == 'factory_id') {
|
|
|
+ $result[$i]['total'] = 0;
|
|
|
if ($other) {
|
|
|
$result[$i]['p_price'] = $other['p_price'];
|
|
|
$result[$i]['select'] = $other['state'];
|
|
@@ -123,6 +124,7 @@ class Set
|
|
|
|
|
|
$children['select'] = 2;
|
|
|
if ($type == 'factory_id') {
|
|
|
+ $children['total'] = 0;
|
|
|
$children['p_price'] = $v1['price'];
|
|
|
if ($other_sku) {
|
|
|
$children['p_price'] = $other_sku['p_price'];
|