godino1 Posted November 25, 2006 Posted November 25, 2006 Can this be added to the product listing pages so it shows up as date expected or date added? <?php } 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'])); ?><p></td> </tr> <?php } else { ?> <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?><p></td> </tr> <?php } ?>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.