Solved

magento, timestamp product changes

Posted on 2014-10-14
4
212 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

710 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