Spirit_Jones Posted October 23, 2016 Share Posted October 23, 2016 Hello there, I would need some information is there class or smth that can help to create product. Currently using 1.6 presta.It would be useful if you post code or smth for example. Thanks in advance everyone. Link to comment Share on other sites More sharing options...
NemoPS Posted October 24, 2016 Share Posted October 24, 2016 You mean to create it ... how?You can use $product = new Product(); Then set all its properties by having a look at the product classLastly, use $product->add();It will die if any mandatory field is missing, so make sure debug mode is enabled 1 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