Skip to content

0.5.3

Compare
Choose a tag to compare
@gchtr gchtr released this 29 Jul 14:26
  • Added Twig function wc_action() that can be used instead of action() when calling hooks from Twig. In Twig, you would use it like this: {% do wc_action('woocommerce_single_product_summary') %}. This was added to fix compatibility problems when hooks were used with parameters. (See #14, thanks @pascalknecht)
  • Added support for Automatic Twig partial selection when using wc_get_template_part(). You could only use wc_get_template() before. Now, you can use both.
  • Fixed a bug when the $post global was not properly set when looping over products.
  • Updated default templates.
  • Updated internal repository folder structure.