miekka Posted December 19, 2011 Share Posted December 19, 2011 Hi, Is there an easy way to add time related features to products? In Catalog/Features/Add a new feature it seems to be possible only to add new textfield features. I'm configuring Presta shop for my clients art gallery and we need to add the date when the gallery got the atrwork to every product. This is my first Presta shop project, but I'm quite familiar with mysql and php. Any guidance is highly appreciated... Link to comment Share on other sites More sharing options...
doekia Posted December 19, 2011 Share Posted December 19, 2011 Within your product template {$product->date_add|date_format:'%Y-%m-%d %H:%M:%S'} should do. This is the date the product get created within the backoffice. Best, (d)oekia Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now