From 3f68c2837f7f1ba6d934d5070ba09100d6e3574b Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 6 Jul 2023 08:12:50 +0700 Subject: Update google merchant availability to in_stock --- src/pages/google_merchant/products/[page].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 }, -- cgit v1.2.3