![]() |
Color Icon Mod.
I'm curious if anybody can help me with this. I want to create a simple loop that displays color icons for product options.
For example. If I fill in an product option and assign the class Color to it, and all the values are colors, I want to be able to loop just the Color Class and the colors available to it, and put them inside of an img tag link, so that way it displays actual color icons. Can anybody tell me what variables are assigned to this? |
Do you mean like we have done here http://www.hom.gb.com/shop/
If so we got the x-cart team to do that modifcation. in the admin there is an extra field where we put in something like (colour name then the hex code) black=ffffff red=cccccc |
how much did that mod cost?
|
I couldnt give you an exact cost as it was part of a much larger mod and it was last year so I dont know if prices have gone up or not.
But if this is the thing you want you can refer the x-cart team to my site to say that is the sort of thing i want. Alltogehter it cost me $300 for the following mods Quote:
It's the colour images mod that you would be referring to and a quick calculation later 300 (dollars) / 12 (hours)= 25(dollars) * 2 (hours) = 50 (dollars) Is that any help to you??? As a side note FunkyDunk did a great mod for me for anyone who sells clothing using x-cart, he tied in the colour mod in with the sizes so that I can be out of stock of any size and colour combination. So for example i have a load of stock in one range of various colour and size combinations , i can input that size 32 in black is out of stock and then an bit of text appears below the product saying so and if the customer tries to order the out of stock combination it lets them know that they cant. It's Funkytastic. God I love how configurable x-cart is :D |
It is possible to use the data that populates the drop down menu and have that displayed in different ways too
|
Quote:
well that's what i'm trying to do on my own, but i'm not having very much luck. I'm trying to figure out how to isolate and loop just the Color class group of options so that I can loop it. |
-_-' got it working but it's not exactly how I want it, with this method, the Color class has to be the first choice, I still wish i could somehow point out just the color class, no matter in what order it gets added into the product options.
here is the code: Code:
{* $Id: customer_options.tpl,v 1.6 2002/10/22 10:27:05 olga Exp $ *} |
coming back onto this one does anyone know how to only have this work on a specific variant, ie variant name=colour then show img??
|
All times are GMT -8. The time now is 09:42 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.