WP eCommerce
Responsive Product Page (1 post)

  1. mloewenberg
    Posted 2 years ago #

    Hi. I am using the WPEC 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?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic