From 186007eae047daf590ab97630a37062d7854951f Mon Sep 17 00:00:00 2001 From: aulisius Date: Thu, 6 Jul 2023 21:46:32 +0530 Subject: [PATCH] Hide WonderCart from YITH Plugins --- src/configs/YITHPlugins.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/configs/YITHPlugins.config.js b/src/configs/YITHPlugins.config.js index 4aaeb9fa..e12fff0c 100644 --- a/src/configs/YITHPlugins.config.js +++ b/src/configs/YITHPlugins.config.js @@ -307,7 +307,7 @@ export const YITHPluginsDefinitions = (props) => ({ }, { Card: FeatureCard, - shouldRender: (state) => state.isUpsellNeeded === false, + shouldRender: () => false, name: "nfd_slug_wonder_cart", assets: () => ({ Image: SalesFunnelLicense, @@ -331,7 +331,7 @@ export const YITHPluginsDefinitions = (props) => ({ actions: { installFeature: createPluginInstallAction( "nfd_slug_wonder_cart", - 16, + 17, props ), },