Skip Navigation

[Resolved] Woocommerce Blocks overriding archive-product . php

This support ticket is created 3 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Author
Posts
#2073977
2.png
1.png

Hey there I need the ability to override the archive-product.php file by the theme it used to be possible on Woo commerce Views but now it is not available is there a work around to do this?

#2074309

Hi,

Thank you for contacting us and I'd be happy to assist.

That option has been dropped from WooCommerce Blocks settings because the WooCommerce template priority now works automatically.

1. If a WordPress Archive template from Toolset is added, it will be used.
2. If no WordPress Archive template from Toolset is added, the theme's template will be used.
3. If the theme doesn't include any template, the default templates from WooCommerce are used.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar