Jump to content

Need information / help to create product through module


Recommended Posts

You mean to create it ... how?
You can use 

$product = new Product();

Then set all its properties by having a look at the product class
Lastly, use

$product->add();

It will die if any mandatory field is missing, so make sure debug mode is enabled

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...