WooCommerce Template Override Pro 5.0.x

Hi Themeco,

In Pro 4.x the root theme folder had the woocommerce folder. This contained:

pro/woocommerce/single-product-reviews.php
pro/woocommerce/single-product/tabs/tabs.php

This ensured WooCommerce templates could be customised following standard Wordpress/WooCommerce process of using the child theme and a woocommerce folder within the child theme.

In Pro 5.x the woocommerce folder has now been moved to:

pro/framework/legacy/templates/woocommerce/single-product-reviews.php
pro/framework/legacy/templates/woocommerce/single-product/tabs/tabs.php

Now my customisations to single-product-reviews.php and tabs.php are being overriding by the parent pro theme as I my child theme overrides follow the correct WooCommerce customisation method and pro 5.x does not.

Can you tell me how to know customise these WooCommerce template files with 5.x

Hello @strobley,

Thanks for the very detailed post.

To get your issue resolved, please relocate your WooCommerce template overrides to the new location:

pro-child/framework/legacy/templates/woocommerce/single-product-reviews.php
pro-child/framework/legacy/templates/woocommerce/single-product/tabs/tabs.php

Kindly let us know how it goes.

Unfortunatley this does not work @ruenel - I think the parent theme is hooked up for the framework/views folder. Did you try and test this before letting me know?

Hello @strobley,

I have investigated the issue further and yes, you are correct. The child theme’s override doesn’t seem to be applied at all. The template in the parent theme is still in control. I suspect that this is a bug in the latest release of the theme. I will personally forward this thread to @Alexander, one of our leading developers so that he can take a look at this issue on Monday.

Please bear with us.

Many thanks @ruenel

You’re welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.