this.onClose() }
className="woocommerce-cart-modal"
>
{ this.renderProducts() }
{ __(
"You won't have access to this functionality until the extensions have been purchased and installed.",
'woocommerce-admin'
) }
);
}
}
export default compose(
withSelect( ( select ) => {
const { getInstalledPlugins } = select( PLUGINS_STORE_NAME );
const { getProfileItems } = select( ONBOARDING_STORE_NAME );
const profileItems = getProfileItems();
const installedPlugins = getInstalledPlugins();
const productIds = getProductIdsForCart(
profileItems,
false,
installedPlugins
);
return { profileItems, productIds };
} )
)( CartModal );