| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Color Icon Mod. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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? |
|||||||
#2
|
|||||||
|
|||||||
![]() 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
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#3
|
|||||||
|
|||||||
![]() how much did that mod cost?
|
|||||||
#4
|
|||||||
|
|||||||
![]() 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 ![]()
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#5
|
|||||||||
|
|||||||||
![]() It is possible to use the data that populates the drop down menu and have that displayed in different ways too
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() 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. |
|||||||
#7
|
|||||||
|
|||||||
![]() -_-' 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:
|
|||||||
#8
|
|||||||
|
|||||||
![]() 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??
__________________
X-Cart Version 4.0.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|