You may need to create a custom control if you wish to automatically do all that logic.
In your Transformation (I assume that's how you are displaying things) you can include and use any ascx control you make. I would create one and pass it the information you need in order to render (like the SkuID), and add in your logic there. Kentico's API can easily accomplish what you are looking to do.
I would look at the default ecommerce site transformations that display a product in order to get an idea of how to get your own info and pass it.