From 05dfc2cdae65682bea72aabe8450801a4488f139 Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Fri, 10 Nov 2023 12:11:23 +0530 Subject: [PATCH 1/2] rfq no image issue --- blocks/quote-request/quote-request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/quote-request/quote-request.js b/blocks/quote-request/quote-request.js index 070ce0d26..326e769c7 100644 --- a/blocks/quote-request/quote-request.js +++ b/blocks/quote-request/quote-request.js @@ -168,7 +168,7 @@ async function loadIframeForm(data, type) { sfdcPrimaryApplication = data.title; // prepare the product image url - if (data.thumbnail) { + if (data.thumbnail && data.thumbnail !== '0') { productImage = prepImageUrl(data.thumbnail); } From f3e68d5fe3014ec441efcdf7438533db212d71e8 Mon Sep 17 00:00:00 2001 From: Rajneesh Date: Fri, 10 Nov 2023 12:36:47 +0530 Subject: [PATCH 2/2] rfq no image issue --- blocks/quote-request/quote-request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks/quote-request/quote-request.js b/blocks/quote-request/quote-request.js index 326e769c7..aac16e572 100644 --- a/blocks/quote-request/quote-request.js +++ b/blocks/quote-request/quote-request.js @@ -181,7 +181,7 @@ async function loadIframeForm(data, type) { tab = `${data.productBundle} Bundle`; productBundle = data.productBundle; // prepare the product bundle thumbnail url - if (data.bundleThumbnail) { + if (data.bundleThumbnail && data.bundleThumbnail !== '0') { bundleThumbnail = prepImageUrl(data.bundleThumbnail); } } else if (data.type === 'Customer Breakthrough') {