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
? businessExtensions.includes( 'mailchimp-for-woocommerce' )
: true,
'creative-mail-by-constant-contact': businessExtensions
? businessExtensions.includes(
'creative-mail-by-constant-contact'
)
: true,
'kliken-marketing-for-google': businessExtensions
? businessExtensions.includes( 'kliken-marketing-for-google' )
: true,
@ -81,6 +86,7 @@ class BusinessDetails extends Component {
'facebook-for-woocommerce',
'mailchimp-for-woocommerce',
'kliken-marketing-for-google',
'creative-mail-by-constant-contact',
];
this.bundleInstall =
@ -129,6 +135,9 @@ class BusinessDetails extends Component {
install_mailchimp: businessExtensions.includes(
'mailchimp-for-woocommerce'
),
install_creative_mail: businessExtensions.includes(
'creative-mail-by-constant-contact'
),
install_google_ads: businessExtensions.includes(
'kliken-marketing-for-google'
),
@ -426,6 +435,18 @@ class BusinessDetails extends Component {
'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',
title: __(

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

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

View File

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

View File

@ -739,6 +739,7 @@ class Onboarding {
array(
'facebook-for-woocommerce' => 'facebook-for-woocommerce/facebook-for-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',
'jetpack' => 'jetpack/jetpack.php',
'woocommerce-services' => 'woocommerce-services/woocommerce-services.php',

View File

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