I am considering the purchase of either Interspire Shopping Cart or CS-Cart. Which one I purchase will depend on the answers to the following questions:
First, I assume there's a 'product detail' php page for each product, ie the page that, when you click on a product in the catalog, will show you the product image, a description, price, 'buy now' option, etc.
In any standard shopping cart software, this page is populated from a database, usually MySQL. That's fine, but the page layout and CSS scheme is 'global'; in other words, you get the same product detail layout no matter what product you are viewing.
I want to do something different. My business will be selling a limited number of items, so we want to be able to create a UNIQUE product details page for each product: for instance, a different color scheme for each product detail, based upon the color of the product.
So, if you click on 'Green Product X' and go to the product detail page, the page header might be 'green'; if you click on 'Yellow Product Y', the same 'product detail' page is created, but the header is now yellow.
I see one way to do this: first, create or modify a database table which would contain the following:
The product ID;
Various CSS attributes.
When the product detail page is loaded, this table's data would also be 'selected', along with the usual product information, images, etc.--perhaps using a JOIN statement on the unique product ID?
At that point, the page's CSS values would be taken from the table above: ie, 'background-color' would be a variable ('$backgroundColor') which would be replaced by the actual value ('yellow') from the database. These values would be passed to php variables in an embedded CSS.
Does that make sense? I need a way, in effect, to override the default CSS with CSS values that are specific to each product.
Is this possible in either product, and if so how difficult would it be to do?
5 freelanceria on tarjonnut keskimäärin 260 $ tähän työhön
I am professional in CS-Cart(I have more than 3 e-shops based on CS-Cart engine). Contact me and we will make all necessary modifications you need(fast and best quality).