- This topic has 9 replies, 3 voices, and was last updated 5 years, 11 months ago by Tom.
September 23, 2016 at 10:01 pm #229004Matthew
Is it possible to copy the woocommerce templates from the Storefront theme into the GP theme?
I understood that we could copy the woocommerce template into the GP child theme, but is it possible to have the template from the Storefront theme instead?
I have a glanced at the Storefront theme that it added more functions/script/customisation based on the template in the woocommerce plugin folder other than in its own theme folder.
Could you please give me some advice?
Thanks a lot.
MatthewSeptember 23, 2016 at 11:22 pm #229016TomLead DeveloperLead Developer
I doubt it, as Storefront most likely uses a different HTML structure than GP.
Is there something specific you’re looking to add to GP?September 24, 2016 at 9:17 am #229114Matthew
Yes, agreed. GP probably doesn’t have the much template for the WC.
What I’m look for is to customize the WC template, such as the My Account page, Check Out page, etc….
MatthewSeptember 24, 2016 at 10:46 pm #229208TomLead DeveloperLead Developer
In order to make customizations like that you’ll need to use a child theme with GP and overwrite WC templates: https://docs.woocommerce.com/document/template-structure/
It’ll help to study the HTML structure of the page.php template, and then add in your WC elements.October 10, 2016 at 6:46 am #234034Thierry
I don’t understand, i have a template GP child and template WC
If i want modify the file price.php (/wp-content/plugins/woocommerce/templates/single-product/price.php) how i can do this ?October 10, 2016 at 9:52 am #234077TomLead DeveloperLead Developer
This article might help: https://docs.woocommerce.com/document/template-structure/
Let me know 🙂October 12, 2016 at 12:34 am #234582Thierry
Great, it’s ok. I copied the folder template of Woo in my Child GP but what’s happen when there wille be the next update from Woo ?
may be there isn’t update in the template of Woo ?October 12, 2016 at 9:13 am #234734TomLead DeveloperLead DeveloperOctober 12, 2016 at 9:22 am #234740Thierry
of course, thx TomOctober 12, 2016 at 9:40 am #234750
- You must be logged in to reply to this topic.