Skip to content
A feature plugin for a modern, javascript-driven WooCommerce Admin experience.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add Accessibility section to the PR template (#1133) Dec 19, 2018
bin Travis: Exit scripts with error when one occurs May 8, 2019
client Add onboarding profile wizard step 1 (#2260) May 22, 2019
config Feature flags: Enable customizable dash on plugin May 15, 2019
docs release 0.12.0 May 14, 2019
images Clean up SVG code Sep 27, 2018
includes Return a success message when updating in profiler controller (#2285) May 22, 2019
languages Update text domain. (#1795) Mar 13, 2019
packages Add onboarding profile wizard step 1 (#2260) May 22, 2019
tests Exclude auto-draft and trashed orders from imports. May 20, 2019
.browserslistrc Add CSS autoprefixer (#244) Jul 30, 2018
.distignore Add Feature Flags (#1500) Feb 12, 2019
.editorconfig Initial commit of plugin scaffold Apr 17, 2018
.eslintignore Docs Project: Add documentation parser + inline documentation (#336) Aug 31, 2018
.eslintrc Set eslint react version to 'detect' (#1300) Jan 17, 2019
.gitignore WC_Admin_Loader/PHP Refactor + Method to publish core ready features (#… Apr 11, 2019
.nvmrc Add nvmrc for newest lts release (#1108) Dec 18, 2018
.stylelintrc.json Makes stylelint config match prettier settings (#733) Nov 1, 2018
.travis.yml Update text domain. (#1795) Mar 13, 2019
CONTRIBUTING.md update to consistent license May 16, 2019
Gruntfile.js Update text domain. (#1795) Mar 13, 2019
LICENSE.md update to consistent license May 16, 2019
README.md Update the minimum WooCommerce requirement on README (#2256) May 20, 2019
babel.config.js Update text domain. (#1795) Mar 13, 2019
composer.json Update dependency woocommerce/woocommerce-sniffs to v0.0.6 (#2108) Apr 24, 2019
composer.lock Update dependency woocommerce/woocommerce-sniffs to v0.0.6 (#2108) Apr 24, 2019
lerna.json Try: Add Lerna to split out utility packages (#678) Oct 30, 2018
package-lock.json Update dependency core-js to v2.6.8 (#2275) May 22, 2019
package.json Update dependency core-js to v2.6.8 (#2275) May 22, 2019
phpcs.xml.dist Refactor main file into singleton class May 14, 2019
phpunit.xml.dist Initial setup for unit tests. Sep 20, 2018
postcss.config.js Load RTL CSS files (#1781) Mar 14, 2019
readme.txt Merge pull request #2248 from woocommerce/consistent-licenses May 16, 2019
renovate.json Change renovate to a once-weekly schedule (#1076) Dec 13, 2018
uninstall.php Add uninstaller file May 14, 2019
webpack.config.js Transpile acorn-jsx package (#2064) Apr 17, 2019
woocommerce-admin.php Move print_emoji_detection_script May 16, 2019

README.md

WooCommerce Admin

This is a feature plugin for a modern, javascript-driven WooCommerce Admin experience.


⚠️ This project is in active development, and is not ready for general use. You can follow the features in development by looking at the project's issues. We do not recommend running this on production sites.


Prerequisites

WordPress 5.0 or greater and WooCommerce 3.6.0 or greater should be installed prior to activating the WooCommerce Admin feature plugin.

For better debugging, it's also recommended you add define( 'SCRIPT_DEBUG', true ); to your wp-config. This will load the unminified version of all libraries, and specifically the development build of React.

Development

After cloning the repo, install dependencies with npm install. Now you can build the files using one of these commands:

  • npm run build : Build a production version
  • npm run dev : Build a development version
  • npm start : Build a development version, watch files for changes
  • npm run build:release : Build a WordPress plugin ZIP file (woocommerce-admin.zip will be created in the repository root)

There are also some helper scripts:

  • npm run lint : Run eslint over the javascript files
  • npm run i18n : A multi-step process, used to create a pot file from both the JS and PHP gettext calls. First it runs i18n:js, which creates a temporary .pot file from the JS files. Next it runs i18n:php, which converts that .pot file to a PHP file. Lastly, it runs i18n:pot, which creates the final .pot file from all the PHP files in the plugin (including the generated one with the JS strings).
  • npm test : Run the JS test suite

To debug synced lookup information in the database, you can bypass the action scheduler and immediately sync order and customer information by using the woocommerce_disable_order_scheduling hook.

add_filter( 'woocommerce_disable_order_scheduling', '__return_true' );

Privacy

If you have enabled WooCommerce usage tracking ( option woocommerce_allow_tracking ) then, in addition to the tracking described in https://woocommerce.com/usage-tracking/, this plugin also sends information about the actions that site administrators perform to Automattic - see https://automattic.com/privacy/#information-we-collect-automatically for more information.

Contributing

There are many ways to contribute – reporting bugs, feature suggestions and fixing bugs. For full details, please see CONTRIBUTING.md

You can’t perform that action at this time.