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'
) }
);
}
}
export default compose(
withSelect( ( select ) => {
const { getInstalledPlugins } = select( PLUGINS_STORE_NAME );
const { getProductTypes, getProfileItems } = select(
ONBOARDING_STORE_NAME
);
const profileItems = getProfileItems();
const installedPlugins = getInstalledPlugins();
const productTypes = getProductTypes();
const productIds = getProductIdsForCart(
productTypes,
profileItems,
false,
installedPlugins
);
return { profileItems, productIds, productTypes };
} )
)( CartModal );