-
AuthorPosts
-
November 14, 2018 at 1:57 pm #1033500
Hi,
In the older version of the theme I had a child theme that includes a woocommerce folder to make changes to the content-single-product.php file to display products.
It seems that either Woocommerce or the theme, or both, have changed their structure and now that file doesn’t exist.
I can’t see what is meant to display single products in the new theme, and now although my catalogue works, the product pages are all blank.
How do I get the product pages to display something, and how do I now modify it in my child theme?November 15, 2018 at 7:54 am #1033809Hey alanboyle5355,
What exactly are you overriding in your child theme? Could you try to remove the file from your child theme to see if the product works like it should after that?
Best regards,
RikardNovember 15, 2018 at 9:55 am #1033865enfold/woocommerce/includes/content-single-product.php
But those folders no longer exist, nevermind the file.
They have all been disabled already because the theme isn’t looking for that folder structure, or that file name. So my products aren’t displayed at all, with or without my version of the files.
November 16, 2018 at 4:19 pm #1034486If this isn’t possible – how do I go back a version? My catalogue is currently not working at all!
November 16, 2018 at 5:20 pm #1034501I’ve done some more digging and the question might be slightly different than I thought.
I’ve customised some of the Woocommerce php pages, such as content-single-product.php.
These files are in my Enfold-child folder, which is my active theme, and they mirror the folder structure of the Woocommerce plugin folder.
Previously, my files would automatically be used in place of the standard ones. This doesn’t seem to be happening anymore.
Second to that, the single-product page doesn’t seem to be working at all.November 17, 2018 at 5:47 pm #1034768Hi,
Unfortunately, as you have done customization our support cant help further with that.
Best regards,
BasilisNovember 19, 2018 at 11:15 am #1035119You can’t help me with how to customise the layout of Woocommerce integrated into your theme?
November 21, 2018 at 2:51 pm #1036080Hi alanboyle5355,
It still does work, I can confirm that and have tested it.
This is a wrong path: enfold/woocommerce/includes/content-single-product.php
Use a child theme also: enfold-child/woocommerce/content-single-product.php (there’s no includes folder)
Also if your using an Advanced Layout Builder on the product, this doesn’t work but if you’re using the default editor then this works perfect.Best regards,
NikkoNovember 22, 2018 at 11:07 pm #1036813Perfect, thank you. I was following the folder structure in the woocommerce plugin but this now works perfectly!
November 23, 2018 at 2:56 am #1036829Hi alanboyle5355,
Glad that we could help you. :)
Feel free to create a new thread if you need further assistance.
Thanks for using Enfold and have a great day!Best regards,
Nikko -
AuthorPosts
- The topic ‘Woocommerce in child theme’ is closed to new replies.