Responsive Product Page
-
Hi. I am using the WPEC 3.8.13.4 and gold cart 2.9.77. I see from reading these forums that the product page is not yet responsive. I’d like to tell wp to test if the user is on a mobile device and, if so, to show the product page in two columns. for example:
// change mobile view to n columns// check if mobile is on
if ( wp_is_mobile() ) {
add_filter( 'loop_productspage_columns', 'wpsc_productspage_columns' );
}// Custom shop columns
function wpsc_productspage_columns( $columns ) {
return 1;
}I have been unable to find the right arguments in the API hook and filter reference in the WPSC documentation. Is this doable in WPSC? Can anyone guide me please?
Thanks.
- The topic ‘Responsive Product Page’ is closed to new replies.