After much hacking at the code which I was not happy about I contacted Woocommerce and was told they don’t support the free products. The sidebar below cart BUG is a VERY COMMON issue!! I see this as completely illogical for Woocommerce to even waste time replying to mine and many others emails, why not just fix the bloody thing!!
I see Woocommerce as a broken product that does to work with a number of Theme’s except Woo’s own pay for products.
I am using inove and the consequences are “woocommerce puts the sidebar in the footer or below” and you cannot disable the sidebar in the admin console for Shop or Products, the others are available in the pages section, just choose template no sidebar.
What I had to do to resolve this is incredibly time consuming, possibly destructive to your whole site and nothing seemed to work of 3 days.
I modified single-product.php, archive-product.php in Plugin>Woocommerce>Templates this had the an effect on the sidebar but was still not right.
This is the typical thing I did to files, comment out the @hooked…. sidebar code like this
* woocommerce_sidebar hook
* do_action( ‘woocommerce_sidebar’ );
* @hooked woocommerce_get_sidebar – 10
Also tried modifications on woocommerce.php and edited style.css and many others in admin console Appearance>editor but delete all these modifications as they did not work.
In pages I selected Cart, Account, Shop and in Page Attributes on side made all pages Parent is Shop and use default template.
The final file edited wc-template-hooks.php fixed the problem, it is located in the Plugin>Woocommerce>Includes folder. I am unsure if you only edit this file then it will fix everything.
* @see woocommerce_get_sidebar()
* add_action( ‘woocommerce_sidebar’, ‘woocommerce_get_sidebar’, 10 );
Sidebar is now where it should be an fixed for me, thank you for all those other contributors which fixes may have worked for earlier versions. I am running everything up to date Jun 2014.
Chearz going to watch the soccer and have a few beers
- The topic ‘Fix Woocommerce iNove sidebar below bug’ is closed to new replies.