Home Forums Themes Support Gecko How to override woo-commerce theme layouts / templates to child theme

This topic contains 1 reply, has 2 voices, and was last updated by  Harry 1 week, 6 days ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32974
    jayaram
    Supported

    Hello Team,

    I wanted to know how do I Override theme files to child them for below sections.

    Override

    • /core/libraries/vendors/woocommerce/templates/extras/single/layout-1.php
    • /core/libraries/vendors/woocommerce/templates/content-quickview-product.php
    • /core/libraries/janstudio/hooks/helper.php

    etc…

    #32978

    Hi,

    Thank you for choose our theme.

    1. You can override file product layout 1 by copy file from gecko/core/libraries/vendors/woocommerce/templates/extras/single/layout-1.php to gecko-child/woocommerce/extras/single/layout-1.php

    2. For some file you have to override by function not override by copy file to child theme
    /core/libraries/vendors/woocommerce/templates/content-quickview-product.php
    /core/libraries/janstudio/hooks/helper.php

    Kind regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

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

You must be logged in to reply to this topic.