summaryrefslogtreecommitdiff
path: root/src/utils/solrMapping.js
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
commitefc1ab22528dac05d3ad89a7506349eb3b553539 (patch)
tree31a7b3583fd41058d75f46efb66fb40087347e3a /src/utils/solrMapping.js
parentbf668785232e2d7abba1660dfdb6eb2746adc09a (diff)
parent584e3fd7f4d33992046557ba18ee8eeac993e650 (diff)
Merged in CR/new_product_detail (pull request #378)
CR/new product detail
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 = {