I've been having a problem with grouped products. I am using the default WooCommerce templates and I have been trying to render grouped products differently.
content.single-product.php adds the
woocommerce_single_product_summary hooks. I would like to keep these in single products, but if the product is grouped, I would like to add a completely different HTML layout, (not render the product image and short description for example), without breaking the hook that might be used in the future by other plugins. Is this possible, and if so, how?
Also, I would like to show child products, with a different HTML layout than the regular loop. How would I achieve this?
In short: I would like to rewire the single product template for grouped products, without breaking the hooks.