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.
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.