Wezzo Posted June 16, 2015 Share Posted June 16, 2015 Hi All, I am currently developing a module which needs to duplicate a product. I know that prestashop has native funtionality to duplicate a product - but what we are trying to do is duplicate a product and then edit some of the fields after the duplicate has been made. What would be the best way to achieve this inside a module? I would like to call the function through a button on the product admin form and also as far as possible not change any core files. I guess we need an override of some sort? Can you please let me know the following: Where to put the override How to make the override install with the plugin How to write a new function, which calls the Duplicate Products function and then does additional updates Thanks in advance 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