Commit 122a6e6e87 for woocommerce
commit 122a6e6e87471fead1950e0f8a7a9d01c17ffbdd
Author: Darren Ethier <darren@roughsmootheng.in>
Date: Fri Jan 23 07:49:16 2026 -0500
Add Snapchat Ads to core profiler onboarding (#62916)
* Add Snapchat Ads to core profiler onboarding
- Add snapchat-for-woocommerce plugin definition with label, description, and logo
- Include Snapchat in the obw/core-profiler bundle
- Add core profiler fields (label, description, learn_more_link, install_priority)
- Add logo-snapchat.svg asset
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Mark Snapchat as built by WooCommerce
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Pavel Dohnal <pavel.dohnal@automattic.com>
diff --git a/plugins/woocommerce/assets/images/core-profiler/logo-snapchat.svg b/plugins/woocommerce/assets/images/core-profiler/logo-snapchat.svg
new file mode 100644
index 0000000000..fd4b17583d
--- /dev/null
+++ b/plugins/woocommerce/assets/images/core-profiler/logo-snapchat.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 40 40"><g clip-path="url(#a)"><g clip-path="url(#b)"><g clip-path="url(#c)"><path fill="#FFFC00" d="M31.21 0H8.79A8.787 8.787 0 0 0 0 8.79v22.42A8.787 8.787 0 0 0 8.79 40h22.42A8.787 8.787 0 0 0 40 31.21V8.79A8.787 8.787 0 0 0 31.21 0Z"/><path fill="#fff" d="M33.48 26.855c-.117-.39-.683-.664-.683-.664-.05-.03-.102-.054-.14-.074-.942-.453-1.774-1-2.473-1.62a8.37 8.37 0 0 1-1.434-1.634c-.473-.71-.695-1.308-.79-1.629-.054-.21-.042-.293 0-.402.04-.09.145-.18.2-.219.317-.222.828-.554 1.14-.758.27-.175.505-.328.641-.421.442-.309.743-.622.922-.961.23-.438.258-.922.078-1.395-.242-.64-.84-1.023-1.597-1.023-.168 0-.344.02-.516.054-.433.094-.848.25-1.191.383-.024.012-.051-.008-.051-.035.035-.855.078-2.004-.016-3.098-.086-.988-.289-1.82-.62-2.546a6.657 6.657 0 0 0-1.11-1.657 6.83 6.83 0 0 0-1.75-1.41c-1.207-.691-2.582-1.043-4.086-1.043-1.5 0-2.871.352-4.082 1.04a6.94 6.94 0 0 0-1.754 1.41c-.34.39-.773.929-1.11 1.656-.331.726-.535 1.558-.62 2.546-.094 1.094-.055 2.153-.016 3.098 0 .027-.027.047-.05.035a8.065 8.065 0 0 0-1.192-.383 2.313 2.313 0 0 0-.516-.054c-.758 0-1.355.383-1.598 1.023-.18.477-.152.957.079 1.395.18.34.48.652.921.96.137.094.371.247.641.423.309.199.805.52 1.121.746.04.027.172.129.215.234.047.113.055.195-.004.418-.098.324-.32.914-.785 1.613a8.37 8.37 0 0 1-1.434 1.633 10.876 10.876 0 0 1-2.472 1.621c-.043.02-.098.047-.157.082 0 0-.562.285-.668.656-.156.547.258 1.06.688 1.336.695.45 1.543.692 2.035.82.137.036.262.071.375.106.07.024.246.09.324.188.094.12.106.273.14.445.056.29.177.645.532.89.39.27.89.29 1.52.313.66.024 1.48.059 2.418.367.433.145.828.387 1.285.668.953.586 2.14 1.317 4.168 1.317 2.027 0 3.223-.735 4.183-1.32.454-.278.844-.52 1.27-.66.937-.31 1.758-.34 2.418-.368.629-.023 1.129-.043 1.52-.313.382-.261.492-.656.542-.953.028-.144.047-.277.13-.386.07-.094.234-.157.312-.184.117-.035.242-.07.387-.11.492-.132 1.105-.284 1.855-.71.887-.508.95-1.137.855-1.445Z"/><path fill="#000" d="M34.258 26.55c-.2-.542-.578-.831-1.012-1.073a4.411 4.411 0 0 0-.219-.118 36.13 36.13 0 0 0-.394-.199c-1.352-.715-2.403-1.617-3.133-2.687a6.327 6.327 0 0 1-.539-.953c-.063-.18-.059-.282-.016-.372a.633.633 0 0 1 .172-.18c.23-.152.473-.308.633-.413.29-.188.52-.336.664-.438.555-.387.941-.797 1.184-1.258.34-.648.383-1.386.12-2.086-.366-.964-1.277-1.566-2.386-1.566-.23 0-.46.027-.695.074-.063.012-.121.028-.18.043.012-.656-.004-1.36-.062-2.043-.207-2.414-1.051-3.676-1.934-4.683a7.717 7.717 0 0 0-1.965-1.586c-1.336-.766-2.851-1.153-4.504-1.153-1.648 0-3.16.387-4.5 1.153a7.693 7.693 0 0 0-1.969 1.586c-.882 1.007-1.726 2.273-1.933 4.683a20.103 20.103 0 0 0-.063 2.043c-.058-.015-.12-.027-.18-.043a3.243 3.243 0 0 0-.695-.074c-1.105 0-2.02.602-2.386 1.566a2.526 2.526 0 0 0 .12 2.086c.243.461.63.871 1.184 1.258.149.102.375.25.664.438.157.101.387.25.61.398a.658.658 0 0 1 .195.195c.047.098.047.2-.02.391-.117.262-.289.582-.527.934-.715 1.047-1.738 1.933-3.043 2.64-.691.367-1.41.614-1.715 1.438-.23.625-.078 1.332.504 1.93.192.206.434.386.735.554.71.395 1.32.586 1.797.719.082.023.277.086.363.16.21.184.18.465.465.875.172.254.367.43.53.54.595.41 1.259.433 1.966.46.636.023 1.36.05 2.187.324.344.114.7.332 1.11.586.992.61 2.343 1.442 4.609 1.442s3.629-.836 4.621-1.446c.41-.25.762-.468 1.094-.578.824-.273 1.547-.3 2.187-.324.707-.027 1.371-.05 1.965-.461.188-.129.418-.34.606-.66.203-.344.199-.59.39-.754.078-.066.25-.129.34-.156a7.954 7.954 0 0 0 1.82-.727c.32-.176.575-.37.77-.594l.008-.007c.547-.586.683-1.278.457-1.883Zm-2.012 1.079c-1.226.676-2.043.605-2.68 1.015-.539.348-.218 1.094-.613 1.368-.48.332-1.906-.024-3.742.582-1.516.5-2.484 1.941-5.211 1.941-2.734 0-3.676-1.433-5.21-1.941-1.837-.606-3.263-.25-3.743-.582-.39-.27-.074-1.02-.613-1.367-.633-.41-1.454-.336-2.68-1.016-.781-.434-.34-.7-.078-.824 4.449-2.153 5.156-5.477 5.187-5.727.04-.297.082-.535-.25-.836-.316-.293-1.726-1.168-2.117-1.437-.648-.453-.933-.903-.723-1.457.145-.383.504-.528.883-.528.117 0 .239.016.352.04.71.156 1.402.511 1.8.605a.7.7 0 0 0 .15.02c.21 0 .288-.106.272-.352-.046-.777-.156-2.293-.035-3.707.168-1.946.797-2.914 1.543-3.766.36-.41 2.04-2.187 5.258-2.187 3.227 0 4.902 1.777 5.258 2.187.746.856 1.375 1.82 1.543 3.766.121 1.414.015 2.93-.035 3.707-.016.258.062.351.273.351a.733.733 0 0 0 .149-.02c.398-.097 1.09-.452 1.8-.605a1.79 1.79 0 0 1 .352-.039c.379 0 .738.145.883.528.21.554-.074 1.008-.723 1.457-.39.273-1.8 1.144-2.117 1.437-.328.305-.285.54-.25.836.031.25.742 3.574 5.187 5.727.27.125.711.39-.07.824Z"/></g></g></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h40v40H0z"/></clipPath><clipPath id="b"><rect width="40" height="40" fill="#fff" rx="4"/></clipPath><clipPath id="c"><path fill="#fff" d="M0 0h40v40H0z"/></clipPath></defs></svg>
\ No newline at end of file
diff --git a/plugins/woocommerce/changelog/62916-add-wooprd-1736-add-snapchat-to-the-woo-onboarding-wizard b/plugins/woocommerce/changelog/62916-add-wooprd-1736-add-snapchat-to-the-woo-onboarding-wizard
new file mode 100644
index 0000000000..acb6cdfd48
--- /dev/null
+++ b/plugins/woocommerce/changelog/62916-add-wooprd-1736-add-snapchat-to-the-woo-onboarding-wizard
@@ -0,0 +1,4 @@
+Significance: patch
+Type: add
+
+Add Snapchat Ads to core profiler onboarding wizard
\ No newline at end of file
diff --git a/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php b/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
index db17613bf5..f8cb2ef9d8 100644
--- a/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
+++ b/plugins/woocommerce/src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
@@ -88,6 +88,7 @@ class DefaultFreeExtensions {
self::get_plugin( 'google-listings-and-ads' ),
self::get_plugin( 'woocommerce-services:tax' ),
self::get_plugin( 'tiktok-for-business' ),
+ self::get_plugin( 'snapchat-for-woocommerce' ),
)
),
),
@@ -454,6 +455,14 @@ class DefaultFreeExtensions {
'is_built_by_wc' => false,
'is_visible' => false,
),
+ 'snapchat-for-woocommerce' => array(
+ 'name' => __( 'Snapchat Ads', 'woocommerce' ),
+ 'description' => __( 'Reach an untapped audience on Snapchat and drive more sales.', 'woocommerce' ),
+ 'image_url' => plugins_url( '/assets/images/core-profiler/logo-snapchat.svg', WC_PLUGIN_FILE ),
+ 'manage_url' => 'admin.php?page=wc-admin&path=%2Fsnapchat%2Fstart',
+ 'is_built_by_wc' => true,
+ 'is_visible' => true,
+ ),
);
$plugin = $plugins[ $slug ];
@@ -541,6 +550,13 @@ class DefaultFreeExtensions {
'learn_more_link' => 'https://woocommerce.com/products/google-listings-and-ads?utm_source=storeprofiler&utm_medium=product&utm_campaign=freefeatures',
'install_priority' => 6,
),
+ 'snapchat-for-woocommerce' => array(
+ 'label' => __( 'Find New Customers with Snapchat Ads', 'woocommerce' ),
+ 'image_url' => plugins_url( '/assets/images/core-profiler/logo-snapchat.svg', WC_PLUGIN_FILE ),
+ 'description' => __( 'Reach an untapped audience on Snapchat and drive more sales.', 'woocommerce' ),
+ 'learn_more_link' => 'https://woocommerce.com/products/snapchat/?utm_source=storeprofiler&utm_medium=product&utm_campaign=freefeatures',
+ 'install_priority' => 1,
+ ),
'woocommerce-services:tax' => array(
'label' => __( 'Get automated tax rates with WooCommerce Tax', 'woocommerce' ),
'image_url' => self::get_woo_logo(),