mSale Posted July 9, 2005 Posted July 9, 2005 I find "Discount Plus" mod via the follwoing URL : http://www.oscommerce.com/community/contri...ll/search,price I install it,and it work well. If price of a product has discount,I want to draw a line on the middle of the original price. How do I do? Thanks.
demonz Posted July 9, 2005 Posted July 9, 2005 Usually oscommmerce does it automatically, but seeing that you installed an contrib it might have affected that option.
mSale Posted July 10, 2005 Author Posted July 10, 2005 Usually oscommmerce does it automatically, but seeing that you installed an contrib it might have affected that option. <{POST_SNAPBACK}> automatically?How do I do? Thanks.
Guest Posted July 10, 2005 Posted July 10, 2005 Use the <s></s> tags :P This is how it is done in specials.php: echo ' <td align="center" width="33%" class="smallText"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $specials['products_image'], $specials['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $specials['products_id']) . '">' . $specials['products_name'] . '</a><br><s>' . $currencies->display_price($specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</s><br><span class="productSpecialPrice">' . $currencies->display_price($specials['specials_new_products_price'], tep_get_tax_rate($specials['products_tax_class_id'])) . '</span></td>' . "\n"; Matti
Recommended Posts
Archived
This topic is now archived and is closed to further replies.