Skip Navigation

[Resolved] Layout on Woocommerce custom template

This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 6 replies, has 2 voices.

Last updated by jillT 3 years, 1 month ago.

Assigned support staff: Waqar.


I have made a custom product template (woocommerce).
I have set my Genesis child theme to be full width (ie no sidebar)

On the product page at the bottom it is displaying the primary sidebar. It only does this on the woocommerce product page.
It does NOT do this on any other page
It does NOT do this on a custom single post template

You can see the problem on this page: hidden link
Scroll down to the bottom of the page and you will see on the right hand side 'Primary Sidebar Widget Area' That is the problem as it should not be showing.



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)


Thank you for contacting us and I'd be happy to assist.

We have a step-by-step guide on this topic of removing primary sidebar area when working with Genesis child theme and WooCommerce product template here:

Once, you've completed the steps 6-8, the default primary sidebar will be disabled.

I hope this helps and please let me know if you need any further assistance around this.



Thank you, but unfortunately that totally messed up my layout. Whilst it does indeed remove the sidebar, it then proceeds to duplicate the product on the page, within a description tab (which should not be there).

The template coding I have is as follows:

[wpv-post-body view_template="None"]
<h4>Enquire about [wpv-post-title]</h4>
[contact-form-7 id="112" title="Product Enquiry"]

Would be grateful for help on this matter



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thanks for writing back and Saturday and Sunday are my off-days.

I'll be performing some tests with a similar set up on my test website, to troubleshoot this.

I will share my findings shortly, as soon as this testing completes.

Thank you for your patience.



Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for waiting, while I performed some tests on my own website.

If you'd like to keep the previous layout, but just remove the sidebar, you can remove the template file that you've added and instead, just add the following code snippet in your child theme's "functions.php" file:

function disable_woo_commerce_sidebar() {
	remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10); 
add_action('init', 'disable_woo_commerce_sidebar');

This worked on my test website and please let me know how it goes.



My issue is resolved now. Thank you!