One of the nice things about the SCC programs is the copy/paste function of the product itself. If you get a generic product setup that you have all the things in it you want, use that as the base and build on it, or even create a full product and copy it as a new product and alter the details as needed.
This might save you a bit of time if you are using this code you're talking about above on multiple products.
just go to the products list and click on the product you want to copy and then do the typical
Ctrl+C to copy
Ctrl +V to paste
Paste the new product wherever you want, in whatever category you want and it will automatically have everything in it you need. Assigns itself a new SKU number too so you don't have to mess with that if you aren't customizing it.
Hope that helps