|
@@ -1346,12 +1346,12 @@ function __construct(){
|
|
$cpa = $cp;$cpa[14] = $v['id'];$cpa[22] = '';//增加长度ID、去除真人发类型
|
|
$cpa = $cp;$cpa[14] = $v['id'];$cpa[22] = '';//增加长度ID、去除真人发类型
|
|
$whlabel .= implode("",$cpa).'-'.$slx*$v['count'].'-0|';
|
|
$whlabel .= implode("",$cpa).'-'.$slx*$v['count'].'-0|';
|
|
$pdcc = (is_numeric($v['zh']))?$v['zh'].'inch |':strtoupper($v['zh']).'|';
|
|
$pdcc = (is_numeric($v['zh']))?$v['zh'].'inch |':strtoupper($v['zh']).'|';
|
|
- //$product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
- if(isset($price[$index])){
|
|
|
|
- $product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|'.$price[$index].'|'.$row_total[$index].'|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
- }else{
|
|
|
|
- $product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
- }
|
|
|
|
|
|
+ $product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
+ // if(isset($price[$index])){
|
|
|
|
+ // $product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|'.$price[$index].'|'.$row_total[$index].'|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
+ // }else{
|
|
|
|
+ // $product .= $v['id'].',-'.rtrim(implode("-",$cp),'-').'-|'.$ptitlea.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
+ // }
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1413,12 +1413,12 @@ function __construct(){
|
|
$cpb = $fk;$cpb[14] = $v['id'];$cpb[22] = '';//增加长度ID、去除真人发类型
|
|
$cpb = $fk;$cpb[14] = $v['id'];$cpb[22] = '';//增加长度ID、去除真人发类型
|
|
$whlabel .= implode("",$cpb).'-'.$slx*$v['count'].'-0|';
|
|
$whlabel .= implode("",$cpb).'-'.$slx*$v['count'].'-0|';
|
|
$pdcc = (is_numeric($v['zh']))?$v['zh'].'inch |':strtoupper($v['zh']).'|';
|
|
$pdcc = (is_numeric($v['zh']))?$v['zh'].'inch |':strtoupper($v['zh']).'|';
|
|
- if(isset($price[$index])){
|
|
|
|
- $product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|'.$price[$index].'|'.$row_total[$index].'|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
- }else{
|
|
|
|
- $product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
- }
|
|
|
|
- //$product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
|
|
+ // if(isset($price[$index])){
|
|
|
|
+ // $product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|'.$price[$index].'|'.$row_total[$index].'|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
+ // }else{
|
|
|
|
+ // $product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
+ // }
|
|
|
|
+ $product .= $v['id'].',-'.rtrim(implode("-",$fk),'-').'-|'.$ptitleb.$pdcc.$slx*$v['count'].'|0|0|'.$v['zh'].'|0|0|'.$slx*$v['count']*$weight.'|0;';
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1430,12 +1430,12 @@ function __construct(){
|
|
$ptitleg .= isset($dtctitle[$v])?$dtctitle[$v].' ':'';
|
|
$ptitleg .= isset($dtctitle[$v])?$dtctitle[$v].' ':'';
|
|
}
|
|
}
|
|
$whlabel .= implode("",$cpson).'-'.$slx.'-0|';
|
|
$whlabel .= implode("",$cpson).'-'.$slx.'-0|';
|
|
- if(isset($price[$index])){
|
|
|
|
- $product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|'.$price[$index].'|'.$row_total[$index].'||0|0|0|0;';
|
|
|
|
- }else{
|
|
|
|
- $product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|0|0||0|0|0|0;';
|
|
|
|
- }
|
|
|
|
- //$product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|0|0||0|0|0|0;';
|
|
|
|
|
|
+ // if(isset($price[$index])){
|
|
|
|
+ // $product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|'.$price[$index].'|'.$row_total[$index].'||0|0|0|0;';
|
|
|
|
+ // }else{
|
|
|
|
+ // $product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|0|0||0|0|0|0;';
|
|
|
|
+ // }
|
|
|
|
+ $product .= '-'.rtrim(implode("-",$cpson),'-').'-|'.$ptitleg.'|'.$slx.'|0|0||0|0|0|0;';
|
|
|
|
|
|
}
|
|
}
|
|
$x++;
|
|
$x++;
|