Comments Ricardo Leandro started the conversationJune 28, 2017 at 11:09pmI'm creating a child theme store and need to change the woocommerce-functions.php file of the parent theme.I copied this file in the same hierarchy in the child theme and edited, but nothing has changed.How should I do? 895TheFox repliedJuly 1, 2017 at 2:50amHello Ricardo, thanks for purchasing Thefox and sorry for the late reply!This won't work since the woocommerce-functions.php is in sub folder.What you need to do is go edit the main theme functions.php and remove this code : // Include Woocommerce custom functions if( rd_check_woo_status() == true) { global $rd_data; if($rd_data['rd_shop_design'] == 'classic'){ include("functions/woocommerce-functions.php"); } else{ include("functions/woocommerce-functions-trending.php"); } }and at this code ( if you are using the classic design ) to the functions.php of the child theme : include("functions/woocommerce-functions.php");This should do the trick.Do not hesitate to contact us if you have more questions. Have a nice day! Regards.--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme Ellison repliedJuly 18, 2017 at 3:19pmBut wouldn't this mean that when we update the theme, we will have to re-do this again? That seems to defeat the purpose of a child theme??? 895TheFox repliedJuly 18, 2017 at 11:24pmHello Ellison,In the next update we will add a "hook", so you won't have to modify the main theme file.Do not hesitate to contact us if you have more questions. Have a nice day! Regards.--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme Sign in to reply ...
I'm creating a child theme store and need to change the woocommerce-functions.php file of the parent theme.
I copied this file in the same hierarchy in the child theme and edited, but nothing has changed.
How should I do?
Hello Ricardo, thanks for purchasing Thefox and sorry for the late reply!
This won't work since the woocommerce-functions.php is in sub folder.
What you need to do is go edit the main theme functions.php and remove this code :
and at this code ( if you are using the classic design ) to the functions.php of the child theme :
This should do the trick.
Do not hesitate to contact us if you have more questions.
Have a nice day!
Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme
But wouldn't this mean that when we update the theme, we will have to re-do this again? That seems to defeat the purpose of a child theme???
Hello Ellison,
In the next update we will add a "hook", so you won't have to modify the main theme file.
Do not hesitate to contact us if you have more questions.
Have a nice day!
Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme