chrisbg Posted March 16, 2007 Posted March 16, 2007 I found that the small code in stylesheet.css make product list price to look differently: SPAN.PriceColor { font-color: value; font-size: value; } Then the second part: Then in every page (product_info.php includes/modules/product_listing.php etc) where the price needs to be displayed differently add '<span class="PriceColor">' . $price . '</span>' where '$price' perhaps will be called different in each page. This is very cool, but where i need to put the code '<span class="PriceColor">' . $price . '</span>' i tryed several places in product_info.php and includes/modules/product_listing.php, NOTHING changed, please, HELP
Jack_mcs Posted March 16, 2007 Posted March 16, 2007 You may be trying to change it where $price is being setup. You have to find where $price is actually being displayed. Since $price is not a variable used in the standard oscommerce file, I can't help you to find that. But for a standard shop, you would change this line <td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> to this <td class="pageHeading" align="right" valign="top"><span class="PriceColor"><?php echo $products_price; ?></span></td> Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
chrisbg Posted March 16, 2007 Author Posted March 16, 2007 You may be trying to change it where $price is being setup. You have to find where $price is actually being displayed. Since $price is not a variable used in the standard oscommerce file, I can't help you to find that. But for a standard shop, you would change this line<td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td> to this <td class="pageHeading" align="right" valign="top"><span class="PriceColor"><?php echo $products_price; ?></span></td> Jack Sorry. nothing changed, any other ideas? :huh:
chrisbg Posted March 16, 2007 Author Posted March 16, 2007 Sorry. nothing changed, any other ideas? :huh: I want something like this:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.