summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-01-23 12:03:55 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-01-23 12:03:55 +0700
commit9ce1b5ea896ace6f2a8cf2566a61410d7020e4c3 (patch)
treea311956b91444406af78539fc60a15530c567b42 /src/pages
parent2ce7d2605e3c20963589a19abd5ae3e9f6aae6fe (diff)
<iman> ganti label 3 menjadi label 4
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/google_merchant/products/[page].js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/google_merchant/products/[page].js b/src/pages/google_merchant/products/[page].js
index 8dd28a39..63d52d91 100644
--- a/src/pages/google_merchant/products/[page].js
+++ b/src/pages/google_merchant/products/[page].js
@@ -98,7 +98,8 @@ export async function getServerSideProps({ res, query }) {
'g:price': {
'#text': `${Math.round(product.lowestPrice.price * PPN)} IDR`,
},
- 'g:custom_label_3': {
+ // 'g:custom_label_3': { '#text': product.categories[0]?.name || 'Tidak Ada Kategori' },
+ 'g:custom_label_4': {
'#text': category_level_1?.name_s || 'Tidak Ada Kategori',
},
};