Community Add-Ons

Maintainers: danicasati
Add file to this package
Top » Features

Edit Product Post Date
for osCommerce Online Merchant v2.2

This contribution allows you to change the product post date for every product inside the catalog in 3 easy steps.

Only 1 file to edit: /admin/categories.php

Legend:  Download   Report
Expand All / Collapse All
Product Post Date Using Today's Date eww 7 Mar 2006  

This is just a quick fix to the original package so you no longer have to edit the date by hand, php does it for you.

If you have the original package already on your shop, just follow this edit:

LOOK FOR:
<tr>
<td class="main"><?php echo "Edit Post Date"; ?></td>
<td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;'
. tep_draw_input_field('products_date_added', $pInfo->products_date_added); ?></td>
</tr>




REPLACE WITH:
<tr>
<td class="main"><?php echo "Edit Post Date"; ?>
</td>
<td class="main"><?php echo tep_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;'
. tep_draw_input_field('products_date_added', date('Y-m-d h:m:s')); ?></td>
</tr>


That's it!
This is a full install package.

Was tested on a HEAVILY modified shop on Linux.

Edit Product Post Date danicasati 6 Mar 2006