diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-04 16:10:54 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-04 16:10:54 +0700 |
| commit | 5bbd819d1af2ec38826e925fe7a067534c6125af (patch) | |
| tree | 11a12489377b80b8a37da241696369d989824bcc /src/pages/google_merchant | |
| parent | 40b5e915d5675ed8d0e6f18860fb8f5e6a7ce59b (diff) | |
Update availability on google merchant xml to backorder
Diffstat (limited to 'src/pages/google_merchant')
| -rw-r--r-- | src/pages/google_merchant/products/[page].js | 2 |
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 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 }, |
