PhpMadman Posted June 26, 2013 Share Posted June 26, 2013 Hi. I'm working on a new feature to add to prestashop @ GitHub. And I added an text option in BO, similar to Number of days for which the product is considered 'new'. Now that option comes with an default 20 days. How do I make the same thing for my option. I searched the files, and if i'm guessing right it's the install/-devdata/theme.sql file with the line UPDATE `PREFIX_configuration` SET value = '20' WHERE name = 'PS_NB_DAYS_NEW_PRODUCT'; that sets the default value. Is my guess correct? 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