diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-06 08:12:50 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-07-06 08:12:50 +0700 |
| commit | 3f68c2837f7f1ba6d934d5070ba09100d6e3574b (patch) | |
| tree | 02a3849e33411cb8c198d9172098b9cca8af105e /src | |
| parent | 5bbd819d1af2ec38826e925fe7a067534c6125af (diff) | |
Update google merchant availability to in_stock
Diffstat (limited to 'src')
| -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 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 }, |
