marcy.su Posted April 29, 2008 Share Posted April 29, 2008 Hello; Request for help, The product description, how to delete "This product was added to our catalog of time". Thanks! Marcy.su Link to comment Share on other sites More sharing options...
marcy.su Posted April 29, 2008 Author Share Posted April 29, 2008 Everyone, please help me! I will be grateful !!! Link to comment Share on other sites More sharing options...
usernamenone Posted April 29, 2008 Share Posted April 29, 2008 open your catalog>product_info.php and remove lines 188 to 201 if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } Link to comment Share on other sites More sharing options...
Guest Posted May 21, 2008 Share Posted May 21, 2008 open your catalog>product_info.php and remove lines 188 to 201 if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> <?php } Is there another place/file this should be changed? I've looked in my product_info.php file but it doesn't have this code in it. Any other suggestions? Thanks! Link to comment Share on other sites More sharing options...
usernamenone Posted May 22, 2008 Share Posted May 22, 2008 It is in the stock osc if you don't have that code then you must have a template. Link to comment Share on other sites More sharing options...
arietis Posted May 23, 2008 Share Posted May 23, 2008 Is there another place/file this should be changed? I've looked in my product_info.php file but it doesn't have this code in it. Any other suggestions? Thanks! if you're using a text editor like textpad (available for free at http://textpad.com/download/ ) that allows searching through multiple files, you can do a search for TEXT_DATE_ADDED. this will show up in a couple files found in your catalog/ directory, as well as a few in admin/ and includes/. the ones in your catalog/ directory are where you'd look to start removing that message. since you are (probably) using a template, that's about the best help i can give you. Link to comment Share on other sites More sharing options...
Guest Posted May 24, 2008 Share Posted May 24, 2008 hi, i'm running a template and was able to rid myself of this by doing the following: in catalog>product_info.php look for: <? if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); else echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> then comment out the echo like this: <? if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); /*else echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));*/ ?> worked for me, good luck. Link to comment Share on other sites More sharing options...
Guest Posted May 27, 2008 Share Posted May 27, 2008 hi, i'm running a template and was able to rid myself of this by doing the following: in catalog>product_info.php look for: <? if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); else echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?> then comment out the echo like this: <? if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); /*else echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));*/ ?> worked for me, good luck. Thank you I was able to make the change! My product_info.php file was located in store/includes/theme directory Thanks again for all the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.