Help according to my items.

Hello

I am sure that some Ruby-goeroes will be able to help me further (and in a much cleaner way).

I have a database where I have a lot of products. Here are the most important column names: