how do I get product_id on an Add
-
- Lieutenant (LT)
- Posts: 66
- Joined: Mon Jun 22, 2009 5:49 pm
how do I get product_id on an Add
How do I get the product_id when adding a new product. Does _Product.Save() return it?
Re: how do I get product_id on an Add
After _Product.Save() is called, the _Product.ProductId value is populated with the identity value. Just reference _Product.ProductId
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com