Store Profiler - include Creative Mail as a free extension (https://github.com/woocommerce/woocommerce-admin/pull/5543)

* Include Creative Mail as a free extension in onboarding wizard on main flow
This commit is contained in:
Joel Thiessen 2020-11-05 16:55:44 -08:00 committed by GitHub
parent 7e9c10af58
commit c73bafbd09
6 changed files with 28 additions and 0 deletions

View File

@ -71,6 +71,11 @@ class BusinessDetails extends Component {
'mailchimp-for-woocommerce': businessExtensions 'mailchimp-for-woocommerce': businessExtensions
? businessExtensions.includes( 'mailchimp-for-woocommerce' ) ? businessExtensions.includes( 'mailchimp-for-woocommerce' )
: true, : true,
'creative-mail-by-constant-contact': businessExtensions
? businessExtensions.includes(
'creative-mail-by-constant-contact'
)
: true,
'kliken-marketing-for-google': businessExtensions 'kliken-marketing-for-google': businessExtensions
? businessExtensions.includes( 'kliken-marketing-for-google' ) ? businessExtensions.includes( 'kliken-marketing-for-google' )
: true, : true,
@ -81,6 +86,7 @@ class BusinessDetails extends Component {
'facebook-for-woocommerce', 'facebook-for-woocommerce',
'mailchimp-for-woocommerce', 'mailchimp-for-woocommerce',
'kliken-marketing-for-google', 'kliken-marketing-for-google',
'creative-mail-by-constant-contact',
]; ];
this.bundleInstall = this.bundleInstall =
@ -129,6 +135,9 @@ class BusinessDetails extends Component {
install_mailchimp: businessExtensions.includes( install_mailchimp: businessExtensions.includes(
'mailchimp-for-woocommerce' 'mailchimp-for-woocommerce'
), ),
install_creative_mail: businessExtensions.includes(
'creative-mail-by-constant-contact'
),
install_google_ads: businessExtensions.includes( install_google_ads: businessExtensions.includes(
'kliken-marketing-for-google' 'kliken-marketing-for-google'
), ),
@ -426,6 +435,18 @@ class BusinessDetails extends Component {
'woocommerce-admin' 'woocommerce-admin'
), ),
}, },
{
slug: 'creative-mail-by-constant-contact',
title: __(
'Email marketing for WooCommerce with Creative Mail',
'woocommerce-admin'
),
icon: 'onboarding/creativemail.png',
description: __(
'Create on-brand store campaigns, fast email promotions and customer retargeting with Creative Mail.',
'woocommerce-admin'
),
},
{ {
slug: 'kliken-marketing-for-google', slug: 'kliken-marketing-for-google',
title: __( title: __(

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

@ -26,6 +26,10 @@ export const pluginNames = {
'Mailchimp for WooCommerce', 'Mailchimp for WooCommerce',
'woocommerce-admin' 'woocommerce-admin'
), ),
'creative-mail-by-constant-contact': __(
'Creative Mail for WooCommerce',
'woocommerce-admin'
),
'woocommerce-gateway-paypal-express-checkout': __( 'woocommerce-gateway-paypal-express-checkout': __(
'WooCommerce PayPal', 'WooCommerce PayPal',
'woocommerce-admin' 'woocommerce-admin'

View File

@ -355,6 +355,7 @@ class OnboardingProfile extends \WC_REST_Data_Controller {
'woocommerce-services', 'woocommerce-services',
'woocommerce-payments', 'woocommerce-payments',
'mailchimp-for-woocommerce', 'mailchimp-for-woocommerce',
'creative-mail-by-constant-contact',
'facebook-for-woocommerce', 'facebook-for-woocommerce',
'kliken-marketing-for-google', 'kliken-marketing-for-google',
), ),

View File

@ -739,6 +739,7 @@ class Onboarding {
array( array(
'facebook-for-woocommerce' => 'facebook-for-woocommerce/facebook-for-woocommerce.php', 'facebook-for-woocommerce' => 'facebook-for-woocommerce/facebook-for-woocommerce.php',
'mailchimp-for-woocommerce' => 'mailchimp-for-woocommerce/mailchimp-woocommerce.php', 'mailchimp-for-woocommerce' => 'mailchimp-for-woocommerce/mailchimp-woocommerce.php',
'creative-mail-by-constant-contact' => 'creative-mail-by-constant-contact/creative-mail-plugin.php',
'kliken-marketing-for-google' => 'kliken-marketing-for-google/kliken-marketing-for-google.php', 'kliken-marketing-for-google' => 'kliken-marketing-for-google/kliken-marketing-for-google.php',
'jetpack' => 'jetpack/jetpack.php', 'jetpack' => 'jetpack/jetpack.php',
'woocommerce-services' => 'woocommerce-services/woocommerce-services.php', 'woocommerce-services' => 'woocommerce-services/woocommerce-services.php',

View File

@ -64,6 +64,7 @@ class InstalledExtensions {
return [ return [
'automatewoo', 'automatewoo',
'mailchimp-for-woocommerce', 'mailchimp-for-woocommerce',
'creative-mail-by-constant-contact',
'facebook-for-woocommerce', 'facebook-for-woocommerce',
'kliken-marketing-for-google', 'kliken-marketing-for-google',
'hubspot-for-woocommerce', 'hubspot-for-woocommerce',