Extended reading: How is a configurable options block rendered on a frontend product view page?
See also: