summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-15 14:33:42 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-15 14:33:42 +0700
commite5544ace96dd9a200ca5876b8e9ba837ad0a26ac (patch)
treed0f1bb7711e2d93859e1d534551328b14a3ae78e /src/utils
parent0d3c0cf6a00ef81bfdb944490e48f16af41fc029 (diff)
parent49f2e6a5612d000c3a740513c1a54b73bb656d77 (diff)
Merge branch 'new-release' into CR/redis
Diffstat (limited to 'src/utils')
-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 d4b3f08c..01a8587c 100644
--- a/src/utils/solrMapping.js
+++ b/src/utils/solrMapping.js
@@ -75,6 +75,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 || '',
};
}
@@ -134,6 +135,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 = {