• I posted this at the instinct.co.nz forums but support is so crap there, I need to repost here.

    I want to change my pricedisplay on products page only, so i created a seperate style (pricedisplaystore), and replaced Price:<span class="pricedisplay"><?php echo wpsc_the_product_price(); ?></span>

    with <span class="pricedisplaystore"><?php echo wpsc_the_product_price(); ?></span>

    But this didn’t work, so I went searching and in processing_options.php under the wp-shopping-cart folder, I found

    if($nohtml == true) {
    $output = "".$output."";
    } else {
    $output = "<span class='pricedisplay'>".$output."</span>";
    //$output = "".$output."";
    }

    Changing the class=’pricedisplay’ to class=’pricedisplaystore’ works, but it changes for all elements in widget and single product page, I want this only in the product_page.

    I’m a bit lost, please help.

    Regards

The topic ‘Change pricedisplay Styling’ is closed to new replies.