Guest Posted June 20, 2009 Share Posted June 20, 2009 I have managed to remove price (if price is $0.00) in Catalog page. In the same manner I also want to remove prices of products in Detail Page if the price is 0 (zero). How can I do this? I also want to remove the line showing as to when the product was added to catalog. Like below given example: This product was added to our catalog on Friday 19 June, 2009. How can I do this? Thanks in Advance. Link to comment Share on other sites More sharing options...
♥14steve14 Posted June 20, 2009 Share Posted June 20, 2009 To remove the date added text look for the following code in your roduct_info.php file and either remove it totoally or comment it out. <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> As to how to remove the prices, i have no idea. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
thedoctor Posted June 22, 2009 Share Posted June 22, 2009 I would also like to remove the price from my site, I have done the majority of it now just can't seem to find how I can remove it from the product_listing.php in the modules folder. Any help would be appreciated. Link to comment Share on other sites More sharing options...
Guest Posted June 22, 2009 Share Posted June 22, 2009 To remove the date added text look for the following code in your roduct_info.php file and either remove it totoally or comment it out. <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> As to how to remove the prices, i have no idea. Steve, Thanks for the hint. I have managed to remove both price as well as Date Added text. For removin the Price part I changed <?php echo $products_price; ?> to <? if($products_price != "$0.00"){ echo $products_price;}?> If you observer I added if condition. That is it. Hope this helps someone. Regards, ycv Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.