This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: WP E-commerce and default layouts

#1868
Jason Bobich
Keymaster

Hello,

There is a filter on the sidebar layout that you can utilize. See here: http://dev.themeblvd.com/tutorial/sidebar-layouts/#custom

So, you’d just need to come with some sort of conditional statement that determines if you’re on a WP-Ecommerce page you want to edit the sidebar layout for or not. You’d use that conditional statement within your function that is filtering “themeblvd_sidebar_layout” —

I don’t know much about WP-Ecommerce, but from a google search, I just found this, and so maybe you could do something like this from functions.php of your Child theme:

function my_sidebar_layout( $sidebar_layout ) {
 
    if( wpsc_is_product() ) 
        $sidebar_layout = 'full_width';
 
    return $sidebar_layout;
 
}
add_filter( 'themeblvd_sidebar_layout', 'my_sidebar_layout' );