nbisaladin Posted October 31, 2008 Posted October 31, 2008 Hi everybody! First of all; what a great thing, OScommerce! Also, the forums and contribs are of great help, thanks all you gys who are dedicated to the OSCommerce effort! I'm trying to format the price in the start page's "What's New" box, with - very - limited success. My work-in-progress store is here: The Hobby Book Store In file /catalog/includes/modules/new_products.php, on line 32: '</a><br><h3>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))); As you can see, I've added the start tag for heading 3 <h3>. All fine so far! BUT... I just cannot figure out where I'm allowed to put the end tag </h3> on this line... I suppose it has to be in a PHP correct prasing and at the right spot, but I'm really no good at PHP. So, any help VERY much appreciated with this!! Also, would it be safe to delete this whole above code string, say if I did not want the prices to show up at all on the front page? Would I have to modify the code on line 32, perhaps with fewer ")" brackets or something? Thanks in advance for any help, Hans Goransson The Hobby Book Store, Sweden
markg-uk Posted October 31, 2008 Posted October 31, 2008 It should be (I think): '</a><br><h3>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</h3>');
nbisaladin Posted November 1, 2008 Author Posted November 1, 2008 It should be (I think): '</a><br><h3>' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</h3>'); Thanks a lot, worked like a dream To all newbies (like me): Please note the space-full stop-space before the '<h3>' constant/html tag! Cordially, /Hans Goransson
Recommended Posts
Archived
This topic is now archived and is closed to further replies.