mindkomm / timber-integration-woocommerce
WooCommerce integration for Timber.
Installs: 10 353
Dependents: 1
Suggesters: 0
Security: 0
Stars: 104
Watchers: 10
Forks: 20
Open Issues: 2
Requires
- php: ^8.1
- timber/timber: ^2.2
- dev-main
- 2.x-dev
- 1.x-dev
- v1.1.0
- 1.0.1
- 1.0.0
- 1.0.0-rc.1
- 1.0.0-alpha.1
- 0.8.0
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.1
- 0.6.1-rc.1
- 0.6.0
- 0.6.0-rc.1
- 0.5.3.1
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.1
- dev-release-please--branches--2.x
- dev-release-please--branches--1.x
- dev-1.x-deprecate-product-filter
- dev-2.x-product-setup
- dev-1.x-release-please
- dev-1.x-docs
- dev-1.x-fix-filter-name
This package is auto-updated.
Last update: 2024-09-10 06:38:17 UTC
README
This integration tries to make it easier to develop Timber themes for WooCommerce.
Here’s a short list of features it adds and problems it tries to solve:
- Automatic handling of the
$product
global. Whenever you loop through a list of WooCommerce products, the integration will set the$product
global for you. This will improve compatibility for WooCommerce and its integrations. - Enhance Timber’s context.
- Automatic Twig partial selection.
- Provide default templates, tips and examples.
Why would I need this?
This integrations makes sense if you need to develop a highly customized WooCommerce theme in a Timber context. If you try to stick to WooCommerce’s default as much as possible, you might not need this.