chatomike Posted December 30, 2005 Share Posted December 30, 2005 first of all hello and pardon my english, its not my native languaje Does some one knows how to change the style of the products price, the way special products does, example: size, color, font. so it becomes something like this: i've looking in stylesheet but nothing seems to do the trick any help will be very apreciated miguel Link to comment Share on other sites More sharing options...
Nacer Posted December 30, 2005 Share Posted December 30, 2005 Check out the following: http://www.oscommerce.com/forums/index.php?sho...08entry757408 Regards, Nacer. Link to comment Share on other sites More sharing options...
chatomike Posted December 30, 2005 Author Share Posted December 30, 2005 thanks Nacer, i've already saw and test that code, and it is only for the cents part of the price, and what i wanna do is to style the whole price like in the picture any sugestions will be apreciated thanks in advance, miguel Link to comment Share on other sites More sharing options...
xnewbi3x Posted December 30, 2005 Share Posted December 30, 2005 in your stylesheet insert .pricestyle{ color: #FF6600; font-size: 17px; } in your product_info.php find: <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> replace with <td class=pricestyle align="right" valign="top"><?php echo $products_price; ?></td> open catalog/module/product_listing.php search for if (tep_not_null($listing['specials_new_products_price'])) { $lc_text = ' <s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span> '; } else { $lc_text = ' ' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . ' '; } replace with if (tep_not_null($listing['specials_new_products_price'])) { $lc_text = '<span class=pricestyle style="color:#7F7F7F;font-size:13px"><s>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</s></span><br><span class=pricestyle style="font-size:17px">' . $currencies->display_price($listing['specials_new_products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>'; } else { $lc_text = '<span style="font-size:17px" class=pricestyle>' . $currencies->display_price($listing['products_price'], tep_get_tax_rate($listing['products_tax_class_id'])) . '</span>'; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.