We got the code to work fine in the end with help from Design-Loud.
The problem I had was that the product variations can not have any characters apart from numbers and letters, and also no spaces, so hyphens must be used. once the variations followed this rule the prices are shown next to each item..