Solved

magento, timestamp product changes

Posted on 2014-10-14
4
202 Views
Last Modified: 2016-03-02
Hello,

I am currently setting up a new store using Magento 1.9. I would like to have two automatic timestamps available in the catalog.

First, I would like to know the date the product was added

Second, I would like the date saved whenever the product is saved/updated.

Third, I would like this visible when editing the product.

Any help with this would be greatly appreciated.

John
0
Comment
Question by:jpldpd
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:lenamtl
ID: 40382079
Both timestamp are already in the database

In the magento template to show update date and time
echo date("Y-m-d", $_product->getUpdatedAt());
0
 

Author Comment

by:jpldpd
ID: 40386451
Thanks lenamtl,

Would you be able to explain a bit more detail? Which templates are actually used? I would like this to show up in the product grid under manage catalog > products. I know I can use a plugin to add additional attributes but this is not an attribute.

Thanks,
John
0
 
LVL 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 40392166
Hi,
 there is an extension that seem to do what you need
http://amasty.com/extended-product-grid-with-editor.html


The dates are already saved in the database, what you need is to display them where you want. Magento is using a MVC and you need to understand how it's work it's not very easy. You may need a dev for this depending of your skills.

http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/admin/changing_the_adminhtml_template
0
 

Author Comment

by:jpldpd
ID: 40396685
Thanks lenamtl,

I appreciate the help!

John
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question