
Originally Posted by
mcqueeneycoins
Ah, bummer! Is it something I could update via sql command (and, if so, what would that command look like)? I basically want to reset the date added on all products to match the launch date of the site, when it's ready. Thanks!
To update all products' date-added to the current date:
Code:
UPDATE products SET products_date_added = now();
Note that the above query will work in your Zen Cart admin's Tools / Install SQL Patches and, if your DB_PREFIX is an empty string, in phpMyAdmin.
If you're running the query in phpMyAdmin and you use a DB_PREFIX (e.g. 'zen_'), you'd use
Code:
UPDATE zen_products SET products_date_added = now();
Bookmarks