Generating code is annoying and a bit pedestrian. Woo-commerce it is then.