Onboarding: Do not show extensions bundle test if CBD is selected. (https://github.com/woocommerce/woocommerce-admin/pull/5040)

This commit is contained in:
Timmy Crawford 2020-08-26 09:15:02 -07:00 committed by GitHub
parent dd799b0504
commit 0374d48849
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ class BusinessDetails extends Component {
this.bundleInstall =
getCountryCode( settings.woocommerce_default_country ) === 'US' &&
( industrySlugs.includes( 'fashion-apparel-accessories' ) ||
industrySlugs.includes( 'health-beauty' ) );
industrySlugs.includes( 'health-beauty' ) ) &&
! industrySlugs.includes( 'cbd-other-hemp-derived-products' );
this.onContinue = this.onContinue.bind( this );
this.validate = this.validate.bind( this );
this.getNumberRangeString = this.getNumberRangeString.bind( this );