Hi,
I am considering buying Hikashop Business for a new project I am working on. I have read through some of the documentation and so far it looks like a really great product which can do most of the things I need straight from the box.
There is one thing I'd like to be able to do that I think requires some custom code though, and I would like to know if it is at all possible to do before I decide to buy the Business version.
I'd like to be able to style some elements on my product description pages based on a specific characteristic of my product. From what I've read so far I think I will have the best chance of doing so by using a custom field on the products. What I would like to achieve is this: Imagine my shop sells products in two categories: bicycles and scooters for example. And all products come in three different colors: yellow, blue and green. I want to be able to have the page background ans some text change color depending on the color of the selected item, preferably by adding a custom class to the <body> tag of the page. So when I open the product page of a yellow bicycle the background turns yellow and some other stuff on the page is styled yellow. What I open the product page for a yellow scooter the same change happens (stuff turns yellow). When I open the product page for a green bicycle or scooter the same changes happen but now with the color green, same for blue, etc.
I think this should be possible to do by using php to tell the page to add a class (.yellow or .green or .blue) to the body tag depending on the custom fields associated with the current product. But I don't know is this is possible and if so exactly how to do this.