diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2025-01-18 10:49:49 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2025-01-18 10:49:49 +0700 |
| commit | 389382046d804053d8e5c6de13d7d0b197175022 (patch) | |
| tree | 45487d63b48c4f73d89ed38dd393d4ed22cba6f3 | |
| parent | 68e1d6e55b6d38d86c2b3332268fb508de0a2db8 (diff) | |
update google merchant
| -rw-r--r-- | src/pages/google_merchant/products/[page].js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/google_merchant/products/[page].js b/src/pages/google_merchant/products/[page].js index 8395f839..ae3348cb 100644 --- a/src/pages/google_merchant/products/[page].js +++ b/src/pages/google_merchant/products/[page].js @@ -80,6 +80,7 @@ export async function getServerSideProps({ res, query }) { 'g:price': { '#text': `${Math.round(product.lowestPrice.price * PPN)} IDR`, }, + 'g:custom_label_3': { '#text': product.categories[0]?.name || 'Tidak Ada Kategori' }, }; if (product.stockTotal == 0) { |
