Home Forums Themes Support Claue modify core/woocommerce/templates with the theme-child

This topic contains 4 replies, has 2 voices, and was last updated by  ganeshaprods 6 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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

    #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

    #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

     

    #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

    #18131

    Thanks Harry!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.