Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can I show an attribute as a bar of colour?


Guest

Recommended Posts

I run a prescription glasses website and I'd like to create a drop down box that visually SHOWS the colour rather than simply say red/blue/green etc. This will be used to show tint colours that my customers can select when they want to customise their glasses and turn them into sun glasses.

Link to comment
Share on other sites

I don't know if that's possible, but this is what I did to show color. It's extemely simple to implement. Check out:

http://www.faeriesdance.com/buttondown-shirt-p-71.html

 

I just add an <img> tag to the product description for each color and then upload the images to the appropriate directory. (In my case each product has different colors, so if all of yours are the same this would be a bit more tedious.)

 

Hope this helps,

Adrienne

Link to comment
Share on other sites

I don't know if that's possible, but this is what I did to show color.  It's extemely simple to implement.  Check out: 

http://www.faeriesdance.com/buttondown-shirt-p-71.html

 

I just add an <img> tag to the product description for each color and then upload the images to the appropriate directory.  (In my case each product has different colors, so if all of yours are the same this would be a bit more tedious.)

 

Hope this helps,

Adrienne

 

 

 

This is going off topic,

 

Jeff, how did you get the extra image in your product info

and how do you make the space between the options Sizes and Gift Wrap?

 

sorry for jumping your thread Samuel you can use

 

Option Type Feature

http://www.oscommerce.com/community/contributions,160/

 

to give options as images

Link to comment
Share on other sites

Craig,

 

I used the Additional Images contribution for the extra image on the right:

 

http://www.oscommerce.com/community/contributions,1032

 

I'm also using the related products contribution:

 

http://www.oscommerce.com/community/contributions,2293

 

The trick though is that both start on new rows. So it was a bit of manual adjusting to get them to show up on the same row. Also, when you have both a related product and an additional image on the same row, you are limited to only one of each or it looks kind of funky. But in my case I didn't care about that - I wanted both on the same row to consolidate the page and get rid of a bunch of white space. On any page where you don't have both options, can you add more than one of either.

 

The space between the top two options and the bottom one happens automatically because the top two are marked as attributes with inventory associated with them, and the bottom is an attribute without inventory associated with it. I believe all that functionality came from this contribution:

 

http://www.oscommerce.com/community/contributions,888

 

Cheers,

Adrienne

Link to comment
Share on other sites

Thanks for the suggestion, but as you said each and every product I sell will have to implement this option and it makes it a bit crap having to do it each time. I know nothing is currently available out there, but surely a contribution to do something like this would benefit the whole community as well as myself?

Link to comment
Share on other sites

Thanks for the suggestion, but as you said each and every product I sell will have to implement this option and it makes it a bit crap having to do it each time. I know nothing is currently available out there, but surely a contribution to do something like this would benefit the whole community as well as myself?

 

 

why not create an include with all the images/color descriptions like Adrienne has and if you REALLY have it for all products, you could alter the product_info.php and add that include right under the description text. Should take no more than 30 minutes.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

why not create an include with all the images/color descriptions like Adrienne has and if you REALLY have it for all products, you could alter the product_info.php and add that include right under the description text. Should take no more than 30 minutes.

 

Sorry for the long delay. I would take this into consideration, however the issue is that there are MANY colours. Over 40 in fact. I dont want to be littering the customer with options when they enter the page as there is enough information in there already. You can take a look here: www.opticalbeauty.com to see what I'm talking about. I've already included the lens type, frame colour and thin lenses. Having another drop down attribute would make things a million times easier as opposed to a massive selection of colours right below the product description. Hope I'm making sense!

Link to comment
Share on other sites

Sorry for the long delay. I would take this into consideration, however the issue is that there are MANY colours. Over 40 in fact. I dont want to be littering the customer with options when they enter the page as there is enough information in there already. You can take a look here: www.opticalbeauty.com to see what I'm talking about. I've already included the lens type, frame colour and thin lenses. Having another drop down attribute would make things a million times easier as opposed to a massive selection of colours right below the product description. Hope I'm making sense!

 

 

oh absolutely. One of my customers had sizing info for every single bra ... messing up the product page. I created a new popup, and the code is inserted into every description that has the charts. For you, it would be easier as you could just add it once to product info.

 

See here what I mean:

http://www.noahsark4kids.com/test/product_...&products_id=37

 

alternatively, you could add a colors info to your information box, like one of my other customers prefered, as she had a gazillion of colors and patterns to show off:

http://www.painted4kids.com/colors_patterns.php

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...