facebook-for-woocommerce
facebook-for-woocommerce copied to clipboard
A first-party extension plugin built for WooCommerce. Development is managed by Ventures.
Facebook for WooCommerce
This is the development repository for the Facebook for WooCommerce plugin.
Support
The best place to get support is the WordPress.org Facebook for WooCommerce forum.
If you have a WooCommerce.com account, you can start a chat or open a ticket on WooCommerce.com.
Logging
The plugin offers logging that can help debug various problems. You can enable debug mode in the main plugin settings panel under the Enable debug mode section.
By default plugin omits headers in the requests to make the logs more readable. If debugging with headers is necessary you can enable the headers in the logs by setting wc_facebook_request_headers_in_debug_log option to true.
Development
Developing
- Clone this repository into the
wp-content/plugins/folder your WooCommerce development environment. - Install dependencies:
npm installcomposer install
- Build assets:
npm startto build a development version
- Linting:
npm run lint:phpto run PHPCS linter on all PHP files
Production build
This plugin uses a custom build tool called sake.
If you have sake set up on your system, these commands can be used to generate a production build.
npm run buildbuilds and zips to/build/facebook-for-woocommerce.{version}.zip.
Releasing
Refer to the wiki for details of how to build and release the plugin.