Home Forums Basel support forum WooCommerce Show Variations as Single Products

WooCommerce Show Variations as Single Products

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #182093

    effiekyr
    Participant

    Hi, we have installed this plugin on the site:
    https://codecanyon.net/item/woocommerce-show-variations-as-single-products/25330620
    but it requires Redux Framework and when we activate the Redux Framework plugin, it messes up the Theme settings, for example the footer changes to dark, the colors also change.
    The author of the plugin WooCommerce Show Variations as Single Products suggested we ask help from you.

    #182171

    Hello,

    You need to find the file basel\inc\classes\Theme.php and delete this line: https://prnt.sc/rmdrno

    Then add this line: add_filter( 'basel_redux_settings', '__return_false' ); to the functions.php file of the child theme.

    Best Regards

    #182204

    effiekyr
    Participant

    We tried what you suggested in the Child theme but it didn’t work. We had to edit the Theme.php file in the Parent theme. It seems the file in the Child theme does not override the parent theme’s file. Can we do it through the Child?

    #182279

    Hello,

    You need to delete the line in the parent theme and add another one into the child. Did you do the same?

    Best Regards

    #182298

    effiekyr
    Participant

    Can you explain please? What do you mean when you say “add another one”?

    #182303

    Hello,

    You need to find the file basel\inc\classes\Theme.php and delete this line: https://prnt.sc/rmdrno in the parent theme.

    Then add this line: add_filter( ‘basel_redux_settings’, ‘__return_false’ ); to the functions.php file of the child theme.

    Best Regards

    #182305

    effiekyr
    Participant

    Yes that’s what I did but wouldn’t it be better if we made the changes in the child theme instead of the parent theme if it could be overriden?

    #182335

    Hello,

    The child theme does not have basel\inc\classes\Theme.php So you cannot delete anything from the child theme you can only add code to functions.php

    Best Regards

    #182337

    effiekyr
    Participant

    I have added the file to the Child theme but it does not override the Parent theme’s file.

    #182340

    effiekyr
    Participant

    Please see the attachment:
    https://prnt.sc/rmsjz8

    #182410

    Hello,

    The parent theme change is necessary to make it work now and the line in the child theme is necessary to make it work when we add the feature in the nearest update.

    Best Regards

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