Open simongcc opened 6 years ago
@simongcc Put it in custom/templatest/archive-product.php
All top level page should put there.
Also, currently it's not fully support for template parts like header footer content ....
Hi,
I tried to add content-single-product.php
file in the custom/templates/woocommerce
folder and it does not work. So the full path is /htdocs/wp-content/plugins/theme-customisations-master/custom/templates/woocommerce/content-single-product.php
I have tried every permeation and it does not work. Please assist
Thanks PicFlick
@GregPicFlick try add to /htdocs/wp-content/plugins/theme-customisations-master/custom/templates/
Thanks for the response @trungx however that unfortunately did not work.
As mentioned, I tried every permeation of file and folder structure within /templates/
and it did not work (see here:
)
The state of how things were in my previous theme (called Flatastic) was that this file coming from the parent theme folder - i.e. /htdocs/wp-content/themes/flatastic/woocommerce
(see here -
)
I am switching over to a new theme and am using this plugin, and would for the customisations to be moved across to.
Looking forward to your assistance.
Thanks, PicFlick
Good day @trungx
Just a reminder to please assist with the templates
folder not recognising my custom .php files.
I also tried another example - some of the custom email templates I previously created on my old theme. I tried to add the .php files to the /templates
folder and it did not work. I also then tried to use the full path which worked in my old child theme folders /templates/dc-product-vendor/emails/
and it also didnt work when using the new theme + Theme Customisations plugin.
See here please I have included the .php files in both areas:
Thanks again
@GregPicFlick You have tried to override template part. but currently there seems it was not support. Try to overrde via child theme
Thanks @trungx , however, our theme explicitly states that we should not add custom code here and should use Theme Customisations (please see below). Your advise for a workaround is very much appreciated. Thanks!
Hi @trungx Polite reminder for assistance regarding the above please. Many thanks!
I have tried to add archive-product.php It seems that it doesn't loaded.