BuddyBoss Home – Web Support Forums Themes Boss. theme Child Theme not activating a woocommerce template

Viewing 11 posts - 16 through 26 (of 26 total)
  • Question

    #42955
    @matthewjamesboyd1984

    OK, Sounds good, I’ll give it a try and let you know how it goes.

    Thanks

    Answers

    #42957
    @matthewjamesboyd1984

    @tjchester @bentasm1

    It worked!

    Thanks for your help TJ! And Ben thank you too.

    So, for now I will need to remove woocommerce.php whenever I update the Boss parent them is that right?

    If you are going to update the theme with this fix so I no longer need to remove woocommerce.php could you let me know?

    Thanks again both of you!

    #42960
    @bentasm1

    @matthewjamesboy

    If WooCommerce detects woocommerce.php — It uses it.

    If WooCommerce does not detect woocommerce.php, it then uses anything from /themes/yourtheme/woocommerce/*.* as its template structure, if those templates exist.

    Ben

    #42975

    Alyssa
    Participant
    @alyssa-buddyboss

    @matthewjamesboyd1984 @bentasm1 I’ll send this fix to the developers for the next release. 🙂

    #42997
    @matthewjamesboyd1984

    Excellent, thanks for your help TJ

    Mat

    #42999
    @matthewjamesboyd1984

    @tjchester

    Hi TJ, I’ve just noticed a couple of issues:

    1. There is a sidebar in both the single product view and shop page (even if I have no widgets in the ‘Page Sidebar (default)’ or ‘Woocommerce -> Shop’ widget areas.

    2. No widgets are visible when dropped in the ‘Woocommerce -> Shop’ widget area

    3. The widgets (including filters) work if I drop them in the ‘Page Sidebar (default)’ widget area but then that sidebar displays on all my other pages that use a default page template

    I think what I need is this:

    1. The widgets to work when dropped in the ‘Woocommerce -> Shop’ widget area

    2. The sidebar to not be displayed in the single product view page

    How can I achieve this? Just let me know if you need access to my wordpress backend to have a look.

    Thanks in advance,
    Mat

    #43041

    Alyssa
    Participant
    @alyssa-buddyboss

    @matthewjamesboyd1984 I’m afraid these were the issues our developers previously ran into and why we were using the woocommerce.php file to begin with. WooCommerce is not as easily integrated as I originally thought. I will keep this on the request list but is not something I am able to solve. Sorry. I’ll let you know if I am able to get anything working before the developers.

    #43043
    @matthewjamesboyd1984

    @tjchester

    Ok, fair enough. Thanks for looking into it for me.

    #43113

    Alyssa
    Participant
    @alyssa-buddyboss

    @matthewjamesboyd1984 copy sidebar.php to your child theme find this:
    <?php if (is_active_sidebar('sidebar') ) { ?>
    change to this:

    <?php if ( is_shop() && is_active_sidebar('woo_sidebar') ){
         dynamic_sidebar('woo_sidebar');
       } ?>
    	<?php if (!is_shop() && is_active_sidebar('sidebar') ) { ?>
    #45155
    @lahir

    Hi,

    Similar issue here, No widgets are visible when dropped in the ‘Woocommerce -> Shop’ widget area

    Please let me know

    #45162

    Anonymous
    @

    Hi @lahir, Its not related to it, I have got your login details, i will update you shortly.
    woocommerce.php file is removed from Boss parent theme (1.1.9).
    I will close this topic , if you have any further issues please open a new topic
    Regards

Viewing 11 posts - 16 through 26 (of 26 total)
  • The question ‘Child Theme not activating a woocommerce template’ is closed to new replies.