A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
Go to file
freer4 701d92233c
Allow extension of WC_Breadcrumb class
Changing the private class methods to protected allows extending the class to work with the built-in functionality. 

The desired effect - removing the "Shop" crumb - was not possible with the few filters available interspersed in this class. 

After much hair-pulling over the simple task of excluding one breadcrumb and the stubborn refusal to copy-pasta the entire class into my theme, I choose to extend the WC_Breadcrumb class to override the already-public add_crumb method. Without access to the other methods on the class, this was futile. 

There are several asks around the web for removing or updating the breadcrumbs. The accepted answer to these appears to be to "just hide it with CSS" which is a poor workaround.
2019-03-17 02:43:00 -04:00
.github Update -----security-issue.md 2019-03-04 09:16:28 +01:00
.wordpress-org Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
apigen Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
assets Update @woocommerce/block-library to 2.0.0-rc1 2019-03-15 13:06:38 -04:00
i18n Grunt dev 2019-03-15 12:21:51 +00:00
includes Allow extension of WC_Breadcrumb class 2019-03-17 02:43:00 -04:00
sample-data Update shopmanager display name 2019-01-16 16:01:39 +02:00
templates Update translators comment to match changes. 2019-03-14 09:39:19 +02:00
tests Removed legacy "Orders index" tool 2019-03-15 11:34:32 +00:00
.babelrc Initial easy test setup 2017-02-28 12:00:12 -08:00
.codeclimate.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.codecov.yml Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
.editorconfig HTTPS for everybody 2016-05-26 22:48:49 -03:00
.eslintignore Ignore vendor files 2018-11-06 15:31:12 -05:00
.eslintrc Update Gruntfile to make use of node-sass when calling grunt-sass. 2019-01-30 10:12:08 +02:00
.gitattributes Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
.gitignore Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
.jshintrc Grunt dev 2019-03-15 12:21:51 +00:00
.scrutinizer.yml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
.stylelintrc Updated .stylelintrc config 2018-11-19 19:08:08 -02:00
.travis.yml Add a new Travis job to run WC unit tests using WordPress nightly 2019-01-16 09:09:54 -02:00
CHANGELOG.txt Updated changelog 2019-03-07 13:31:27 -03:00
CODE_OF_CONDUCT.md Fixed a typo 2017-06-19 16:22:40 -03:00
Gruntfile.js Grunt dev 2019-03-15 12:21:51 +00:00
README.md Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
apigen.neon Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
composer.json Updated woocommerce-sniffs to 0.0.6 2019-03-11 12:34:57 -03:00
composer.lock Grunt dev 2019-03-15 12:21:51 +00:00
license.txt Further licence tweak 2015-02-18 13:04:21 +00:00
package-lock.json Update dependency eslint to v5.15.2 2019-03-15 18:13:42 +00:00
package.json Update dependency eslint to v5.15.2 2019-03-15 18:13:42 +00:00
phpcs.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
phpunit.xml Remove simplify commerce gateway 2019-01-10 12:01:27 +00:00
readme.txt Merge pull request #23037 from woocommerce/update-readme-tested-up-to-5.1 2019-03-15 11:37:23 +00:00
renovate.json Add renovate.json 2018-11-06 21:00:00 +00:00
uninstall.php Merge branch 'master' of https://github.com/woocommerce/woocommerce into HEAD 2018-10-27 12:14:09 -08:00
woocommerce.php Update version 3.6.0-beta.1 2019-03-14 19:23:56 -07:00

README.md

WooCommerce

license Latest Stable Version WordPress.org downloads WordPress.org rating Build Status Scrutinizer Code Quality codecov

Welcome to the WooCommerce repository on GitHub. Here you can browse the source, look at open issues and keep track of development. We recommend all developers to follow the WooCommerce development blog to stay up to date about everything happening in the project. You can also follow @DevelopWC on Twitter for the latest development updates.

If you are not a developer, please use the WooCommerce plugin page on WordPress.org.

Documentation

Reporting Security Issues

To disclose a security issue to our team, please submit a report via HackerOne here.

Support

This repository is not suitable for support. Please don't use our issue tracker for support requests, but for core WooCommerce issues only. Support can take place through the appropriate channels:

Support requests in issues on this repository will be closed on sight.

Contributing to WooCommerce

If you have a patch or have stumbled upon an issue with WooCommerce core, you can contribute this back to the code. Please read our contributor guidelines for more information how you can do this.

Contributing new features to the WooCommerce REST API

If you'd like to add a feature to the next version of the REST API, contribute here: https://github.com/woocommerce/wc-api-dev