mindkomm / timber-integration-woocommerce
WooCommerce integration for Timber.
Installs: 11 568
Dependents: 1
Suggesters: 0
Security: 0
Stars: 109
Watchers: 10
Forks: 20
Open Issues: 2
Requires
- php: ^8.1
- timber/timber: ^2.2
This package is auto-updated.
Last update: 2024-12-10 07:10:41 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.