summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-07-06 08:12:50 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-07-06 08:12:50 +0700
commit3f68c2837f7f1ba6d934d5070ba09100d6e3574b (patch)
tree02a3849e33411cb8c198d9172098b9cca8af105e /src
parent5bbd819d1af2ec38826e925fe7a067534c6125af (diff)
Update google merchant availability to in_stock
Diffstat (limited to 'src')
-rw-r--r--src/pages/google_merchant/products/[page].js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/google_merchant/products/[page].js b/src/pages/google_merchant/products/[page].js
index 05286e83..52b87389 100644
--- a/src/pages/google_merchant/products/[page].js
+++ b/src/pages/google_merchant/products/[page].js
@@ -34,7 +34,7 @@ export async function getServerSideProps({ res, query }) {
product.description = defaultProductDescription
}
- const availability = product?.stockTotal > 0 ? 'in_stock' : 'backorder'
+ const availability = 'in_stock'
const item = {
'g:id': { '#text': productId },