制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Seamlessly integrates your WooCommerce store with Snapchat's advertising platform, enabling you to reach potential customers through visual ads.
This repository is not suitable for support. Please don't use our issue tracker for support requests.
The best place to get support is the WordPress.org Snapchat for WooCommerce forum.
Install: Install from WordPress.org or via Plugins → Add New and search for "Snapchat for WooCommerce"; then activate.
Configuration: After activation, go to WooCommerce → Marketing and use the Snapchat channel, or open the setup flow at WooCommerce → Marketing → Snapchat.
Sandbox mode displays the post-onboarding settings experience with simulated WordPress.com and Snapchat accounts. Remote requests, storefront tracking, usage tracking, and remote product-feed synchronization are disabled. Changes to the conversion settings are stored separately from live settings.
Enable it with WP-CLI:
wp option update snapchat_sandbox_mode yes
Disable it again with:
wp option update snapchat_sandbox_mode no
nvm use to match the Node version in .nvmrc (Node 24)nvm use
npm install
composer install
npm run build — production buildnpm run start — development build with watchnpm run env:start
With the environment running, open the Snapchat setup page at:
You can also go to WooCommerce → Marketing and open the Snapchat channel from there.
npm run lint — run PHP, JavaScript, and CSS lintingnpm run lint:php — PHP onlynpm run lint:js — JavaScript onlynpm run lint:css — CSS onlyE2E tests use Playwright and require Docker. After starting the environment:
npm run env:start
npm run test:e2e
The env:start script runs tests/e2e/bin/initialize.sh after the environment is up.
From package.json:
npm run build — production buildnpm run start — development build with watchnpm run lint — full lint (PHP + JS + CSS)npm run lint:php — PHP code standardsnpm run lint:js — ESLintnpm run lint:css — stylelintnpm run format — format codenpm run env:start — start wp-envnpm run env:stop — stop wp-envnpm run env:clean — clean wp-envnpm run env:destroy — destroy wp-envnpm run test:e2e — run Playwright E2E testsBuilt with Create Woo Extension.