diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-28 10:23:53 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-10-28 10:23:53 +0700 |
| commit | b3367a2d1882e0da9a366e1dfe07e9c9851989e3 (patch) | |
| tree | d994cc48b73baff1eb2fde9cdcc502b31296b599 | |
| parent | 2cec0830eaef2ad9bc40f3c2d5e9b9ea05cc411b (diff) | |
<MIqdad> get only published product 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 ae2c5861..161b6aec 100644 --- a/src/pages/google_merchant/products/[page].js +++ b/src/pages/google_merchant/products/[page].js @@ -18,7 +18,7 @@ export async function getServerSideProps({ res, query }) { page: page.replace('.xml', ''), priceFrom: 1, orderBy: 'popular', - fq: ['image_s:["" TO *]', 'publish_b:true'], + fq: ['image_s:["" TO *] AND publish_b:true'], }; const products = await variantSearchApi({ query: _.toQuery(queries) }); |
