theme-customisations icon indicating copy to clipboard operation
theme-customisations copied to clipboard

custom/templates/woocommerce does not actually loaded

Open simongcc opened this issue 7 years ago • 8 comments

I have tried to add archive-product.php It seems that it doesn't loaded.

simongcc avatar Jul 15 '18 02:07 simongcc

@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 ....

trungx avatar Jul 08 '21 14:07 trungx

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 avatar Jul 17 '21 14:07 GregPicFlick

@GregPicFlick try add to /htdocs/wp-content/plugins/theme-customisations-master/custom/templates/

trungx avatar Jul 19 '21 09:07 trungx

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: Capture2 ) 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 - image ) 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

GregPicFlick avatar Jul 30 '21 15:07 GregPicFlick

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: image Thanks again

GregPicFlick avatar Aug 03 '21 19:08 GregPicFlick

@GregPicFlick You have tried to override template part. but currently there seems it was not support. Try to overrde via child theme image

trungx avatar Aug 03 '21 19:08 trungx

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! image

GregPicFlick avatar Aug 04 '21 12:08 GregPicFlick

Hi @trungx Polite reminder for assistance regarding the above please. Many thanks!

GregPicFlick avatar Aug 07 '21 15:08 GregPicFlick