WordPress.org

Ready to get started?Download WordPress

Forums

WP e-Commerce Product Showroom
Horizontal Unordered List (1 post)

  1. jsmith21
    Member
    Posted 1 year ago #

    Thank you for this plugin. I'm surprised random products aren't a feature already included with WP eCommerce.

    I'm trying to get my products to display horizontally. I think the problem is in the loop of wp_e_showrp.php, Lines 112-121:

    $htmlcod .= "<div class='showrpdiv'>\n";
    	   $htmlcod .= "<ul>\n";
    	   $htmlcod .= "<li><a href=".wpsc_product_url($rs[0]).">".$rs[1]."</a><br>";
    	   $htmlcod .= "<a href='".wpsc_product_url($rs[0])."'>";
    	   $htmlcod .= "<img src='".$pht."' style='width:".$tbwid."px'></a>\n";
    	   $htmlcod .= "</li>\n";
    	   $htmlcod .= "<li>".$prc."</li>\n";
    	   $htmlcod .= "</ul>\n";
    	   $htmlcod .= "</div>\n";

    I edit the CSS:

    .showrpdiv ul {
        margin: 0;
        padding: 0;
    }
    .showrpdiv ul li {
    	display: inline;
    }

    But because each product image is starting a new div class and unordered list. I'm guessing there's a way to take these out of the loop and leave the list item in. Or maybe you have a better way. This problem is currently on my localhost.

    -JSmith

    http://wordpress.org/extend/plugins/wp-e-commerce-product-showroom/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic