slide83 Posted February 19, 2015 Share Posted February 19, 2015 Hi guys, I explain you my need and the solution I found, so you can give me some advice how to implement it. I have an eshop selling food. As we all know food has an expiration date. Thus, I need to write it somewhere in the product creation page, in the back office. This expiration date however must not be visible on the front office. I thought that the easiest way to make that is to create a product's characteristic called "expiration date", so I have the related field in my product creation page. The problem now is that this way, I created also a filed called "expiration date" also on the frontpage. It would be perfect if I could change something in the code say to prestashop not to show this filed. Am I wrong? Any suggestion? Thanks, Juri Link to comment Share on other sites More sharing options...
fred-vinapresta Posted February 19, 2015 Share Posted February 19, 2015 Hi, i thing you should add a new field in the Product class, like that you will be able to display it easily by something like {$product->expiration_date|date_format:"%D"} A little research and you will find several tutorials about how to add a new field in product administration. 1 Link to comment Share on other sites More sharing options...
PascalVG Posted February 22, 2015 Share Posted February 22, 2015 This tutorial may help you: http://blog.belvg.com/how-to-create-a-custom-product-tab-in-prestashop.html My 2 cents, pascal 1 Link to comment Share on other sites More sharing options...
Jimena FG Posted August 6, 2015 Share Posted August 6, 2015 Hi Pascal, I would like to know if there is already a module to include the expiration date management to the products charged in Prestashop. We also sell food, and I can´t find the way to set the expiration dates into the existences module. Could you help us? 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