Hi
I tried this function to eliminate the sidebar but didn’t woork
add_filter( ‘generate_sidebar_layout’,’tu_custom_woocommerce_sidebar_layout’ );
function tu_custom_woocommerce_sidebar_layout( $layout )
{
// If we are on a woocommerce page, set the sidebar
if ( function_exists( ‘is_woocommerce’ ) && is_woocommerce() )
return ‘no-sidebar’;
// Or else, set the regular layout
return $layout;
}
How can I remove the right sidebar from shop and product layout?
Thank you
I am trying to figure out how to change the add to cart button on the catalog page https://anngentry.com/shop to be view product details and not just add to cart page. Where is the setting for this? I want them to be able to see the product details first before they add to cart. Thanks, Chris