Home › Forums › Themes Support › Claue › modify core/woocommerce/templates with the theme-child
- This topic has 4 replies, 2 voices, and was last updated 6 years, 1 month ago by ganeshaprods.
-
AuthorPosts
-
-
March 14, 2018 at 12:56 am #18099
Hi!
I want to modify a couple of files from “/wp-content/themes/claue/core/libraries/vendors/woocommerce/…” from my theme-child.
I’ve created the folder structure in my theme-child and made some changes in the files.
But when I upload the file nothings change, it remains the original code from Claue theme.
How could I made my theme-child files works instead the originals?
Thanks
-
March 14, 2018 at 11:41 am #18112
Hi,
On child theme please create folder as normal claue-child > woocommerce and put your modified file to this folder don’t need same structure like parent theme.
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 14, 2018 at 4:37 pm #18127
Hi Harry!
I’ve moved my modified files to claue-child > woocommerce (init.php and layout2.php) and I’ve uploaded.
But I couldn’t see any change…. For rxample in “http://34.243.13.78/product/lazymermaidsweat/”:
I’ve changed the breadcrumb container “bgbl pt__20 pb__20 pl__15 pr__15 lh__1” by this “pt__20 pb__20 lh__1 jas-container” but this modification doesn’t appears (after clean cache).
Any idea? O_O
-
March 14, 2018 at 4:58 pm #18129
Hi,
File init.php can’t override like normal. For layout2.php please copy to claue-child > woocommerce > extras > single > layout-2.php
For the function on init.php you have to override by copy to file functions.php and change function
Best regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 14, 2018 at 5:19 pm #18131
Thanks Harry!
-
-
AuthorPosts
You must be logged in to reply to this topic.