From 5bbd819d1af2ec38826e925fe7a067534c6125af Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 4 Jul 2023 16:10:54 +0700 Subject: Update availability on google merchant xml to backorder --- 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 5a417807..05286e83 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' : 'preorder' + const availability = product?.stockTotal > 0 ? 'in_stock' : 'backorder' const item = { 'g:id': { '#text': productId }, -- cgit v1.2.3