thoeri Posted January 2, 2005 Posted January 2, 2005 Hello Everyone, do you know how to get rid of the zeros in the bestseller box. Now it is: 01. xxxxxx 02. xxxxxx and so on. I would like it to show: 1. xxxxxxx 2. xxxxxxx Can anyone please help? Regards, Thomas Eriksson
berkedam Posted January 2, 2005 Posted January 2, 2005 This works for me in IE, Moz/FF and Opera: /shop/includes/boxes/best_sellers.php +/- line 43 old: $bestsellers_list .= '<tr><td class="infoBoxContents" valign="top">' . tep_row_number_format($rows) . '. </td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '">'. $best_sellers['products_name'] . ' </a></td></tr>'; new: $bestsellers_list .= '<tr><td class="infoBoxContents" valign="top"><span class="productBestseller">' . $rows . '.</span></td><td class="infoBoxContents"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $best_sellers['products_id']) . '">'. '<span class="productBestseller">'. $best_sellers['products_name'] . '</span></a></td></tr>'; "If you're working on something new, then you are necessarily an amateur."
thoeri Posted January 2, 2005 Author Posted January 2, 2005 A big thank you for the help!!! Regards, Thomas Eriksson
Recommended Posts
Archived
This topic is now archived and is closed to further replies.