kimhf/sage-woocommerce-support
Larablocks Analysis
kimhf/sage-woocommerce-support works with any PHP project: the latest release (v9.0.4, Oct 27, 2018) doesn't depend on Laravel.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- No release in the last 12 months (last: Oct 27, 2018)
- 8 downloads a month (needs 10,000)
- 11 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Oct 27, 2018.
- No releases in the last 12 months.
- First released: May 5, 2018.
- Monthly downloads: 8, down 84% from six months ago.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.
| Install | |
|---|---|
composer require kimhf/sage-woocommerce-support |
|
| Latest Version: | v9.0.4 |
| PHP: | >=7.1 |
| License: | MIT |
| Last Updated: | Oct 26, 2019 |
| Links: | GitHub · Packagist |
Sage Woocommerce Support
Add Woocommerce blade template and controllers support for Sage 9 based themes.
Installation
Run inside theme directory.
composer require kimhf/sage-woocommerce-support
Requirements
PHP 7.1 or above
Usage
Example: To override the template plugins/woocommerce/templates/single-product.php create themes/yoursagetheme/resources/views/single-product.blade.php or themes/yoursagetheme/resources/views/woocommerce/single-product.blade.php
Example: To override the partial plugins/woocommerce/templates/content-product.php create themes/yoursagetheme/resources/views/partials/content-product.blade.php or themes/yoursagetheme/resources/views/woocommerce/content-product.blade.php or themes/yoursagetheme/resources/views/content-product.blade.php
Details
The package will look for templates in the paths defined in the Sage config view.paths. It will search for both .php and .blade.php files.
Data from controllers and args from woocommerce will always be added to blade templates, even if you mix usage between php and blade templates.
With default Sage and WooCommerce config:
A template from the template hierarchy will loaded from resources/views/woocommerce or resources/views as entry template. (WC_Template_Loader will only load the empty resources/index.php in this case.)
wc_get_template() Will with default config look inside resources/views/woocommerce and resources/views. $args added by Woocommerce will take priority over controller data if there are any conflicts.
wc_get_template_part() Will with default config look inside resources/views/woocommerce, resources/views/partials and resources/views.
wc_get_template_html() Is not supported.
Alternatives to kimhf/sage-woocommerce-support
Version History
| Version | Released | PHP | License |
|---|---|---|---|
| v9.0.4 | >=7.1 | MIT | |
| v9.0.3 | >=7.1 | MIT | |
| v9.0.2 | >=7.1 | MIT | |
| v9.0.1 | >=7.1 | MIT | |
| v9.0.0 | >=7.1 | MIT |