Skip to content

Commit

Permalink
Add Pinterest Extension to Onboarding Wizard (#36003)
Browse files Browse the repository at this point in the history
* Add pinterest to OBW

# Conflicts:
#	plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php

* Switch the alt data

* Add changelog

* Update copy
  • Loading branch information
adrianduffell committed Dec 15, 2022
1 parent 736395b commit 4ccf356
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugins/woocommerce/changelog/update-obw-pinterest
@@ -0,0 +1,4 @@
Significance: minor
Type: update

Add Pinterest for WooCommerce to free extensions list
1 change: 1 addition & 0 deletions plugins/woocommerce/src/Admin/API/OnboardingProfile.php
Expand Up @@ -397,6 +397,7 @@ public static function get_profile_properties() {
'creative-mail-by-constant-contact',
'facebook-for-woocommerce',
'google-listings-and-ads',
'pinterest-for-woocommerce',
'mailpoet',
'tiktok-for-business',
'tiktok-for-business:alt'
Expand Down
Expand Up @@ -38,6 +38,7 @@ public static function get_all() {
'plugins' => [
self::get_plugin( 'mailpoet' ),
self::get_plugin( 'google-listings-and-ads' ),
self::get_plugin( 'pinterest-for-woocommerce' ),
self::get_plugin( 'facebook-for-woocommerce' ),
self::get_plugin( 'tiktok-for-business:alt' ),
],
Expand All @@ -57,6 +58,7 @@ public static function get_all() {
'plugins' => [
self::get_plugin( 'google-listings-and-ads:alt' ),
self::get_plugin( 'tiktok-for-business' ),
self::get_plugin( 'pinterest-for-woocommerce:alt' ),
self::get_plugin( 'facebook-for-woocommerce:alt' ),
self::get_plugin( 'pinterest-for-woocommerce' ),
],
Expand Down Expand Up @@ -120,6 +122,13 @@ public static function get_plugin( $slug ) {
'is_built_by_wc' => false,
],
'pinterest-for-woocommerce' => [
'name' => __( 'Pinterest for WooCommerce', 'woocommerce' ),
'description' => __( 'Get your products in front of Pinners searching for ideas and things to buy.', 'woocommerce' ),
'image_url' => plugins_url( '/assets/images/onboarding/pinterest.png', WC_PLUGIN_FILE ),
'manage_url' => 'admin.php?page=wc-admin&path=%2Fpinterest%2Flanding',
'is_built_by_wc' => true,
],
'pinterest-for-woocommerce:alt' => [
'name' => __( 'Pinterest for WooCommerce', 'woocommerce' ),
'description' => __( 'Get your products in front of Pinterest users searching for ideas and things to buy. Get started with Pinterest and make your entire product catalog browsable.', 'woocommerce' ),
'image_url' => plugins_url( '/assets/images/onboarding/pinterest.png', WC_PLUGIN_FILE ),
Expand Down

0 comments on commit 4ccf356

Please sign in to comment.