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.
- WordPress 6.7+
- WooCommerce 10.2+
- PHP 7.4+
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.
- NVM (recommended) or NPM — use
nvm useto match the Node version in .nvmrc (Node 20) - Composer
- wp-env (requires Docker)
nvm use
npm install
composer installnpm run build— production buildnpm run start— development build with watch
npm run env:startWith the environment running, open the Snapchat setup page at:
- Setup: http://localhost:8888/wp-admin/admin.php?page=wc-admin&path=%2Fsnapchat%2Fsetup
- Settings: http://localhost:8888/wp-admin/admin.php?page=wc-admin&path=%2Fsnapchat%2Fsettings
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 only
E2E tests use Playwright and require Docker. After starting the environment:
npm run env:start
npm run test:e2eThe 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 tests
Built with Create Woo Extension.