구글 판매자센터 피드
- 상품의 재고 & 상품옵션의 재고에 따른 재고값 수정
This commit is contained in:
@ -50,7 +50,11 @@ for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
||||
|
||||
$stock = "in_stock";
|
||||
if($row['it_stock_qty'] <= 0) {
|
||||
$stock = "out_of_stock";
|
||||
if($row['in_stock'] > 0) {
|
||||
$stock = "in_stock";
|
||||
} else {
|
||||
$stock = "out_of_stock";
|
||||
}
|
||||
} else {
|
||||
if($row['in_stock'] <= 0) $stock = "out_of_stock";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user