summaryrefslogtreecommitdiff
path: root/src/utils/solrMapping.js
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-10-24 10:11:31 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-10-24 10:11:31 +0700
commit5f0f6b865bafd1570b24b8caffdb992ffbb476fc (patch)
treecb10cb24f45823c118155bff5f30490691aa0b42 /src/utils/solrMapping.js
parentf073b22e917acde22c21808906a37270e274085f (diff)
parentca30c28dd0b19977eb771fc32ff5e520cdef1068 (diff)
Merge branch 'CR/product_detail' into Feature/penawaran-instan
Diffstat (limited to 'src/utils/solrMapping.js')
-rw-r--r--src/utils/solrMapping.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/solrMapping.js b/src/utils/solrMapping.js
index f73e966a..f896a6a8 100644
--- a/src/utils/solrMapping.js
+++ b/src/utils/solrMapping.js
@@ -74,6 +74,7 @@ export const productMappingSolr = (products, pricelist) => {
name: product.manufacture_name_s || '',
imagePromotion1: product.image_promotion_1_s || '',
imagePromotion2: product.image_promotion_2_s || '',
+ logo : product.x_logo_manufacture_s || '',
};
}
@@ -133,6 +134,7 @@ export const variantsMappingSolr = (parent, products, pricelist) => {
productMapped.manufacture = {
id: product.manufacture_id_i || '',
name: product.manufacture_name_s || '',
+ logo : parent[0]?.x_logo_manufacture_s
};
}
productMapped.parent = {