Go Back   3dCart Shopping Cart Software Forums > Shopping Cart Software > General Configuration Questions

Reply
 
Thread Tools Display Modes
  #1 ()  
Old 04-26-2007, 02:32 AM
The Diaper Lady The Diaper Lady is offline
3dCart Newbie
 
Join Date: Apr 2006
Posts: 11
Default Dropdown Image Option

Under the option section of the products I see "Opt" with the description of Allows you to add image option for the dropdown image option. Click select to browse for images.

I take this that we can have the image change for each option we have. i.e. I have shirts with dropdown selections of red, blue, yellow. if a customer chooses red, then a red shirt image appears, if blue then a blue shirt appears. Correct?

This function does not appear to work as there is no "select" for me to click on. i my admin just missing this feature or is it coming soon?

Thanks!
__________________
~Bryana

www.softclothbunz.com
Reply With Quote
  #2 ()  
Old 04-27-2007, 02:40 PM
MagnetMan MagnetMan is offline
3dCart Newbie
 
Join Date: Sep 2006
Posts: 12
Default

You will need to upload a pic of each of the option images you need ... i.e a red shirt image, a blue shirt image etc.

Then under the options tab for the relevant product go the Opt. column relating to the option (red, blue etc) and follow to where you uploaded the the images. Select your corresponding image and bob's uncle!

Good luck
__________________
www.mediamagnetics.com
Reply With Quote
  #3 ()  
Old 04-27-2007, 05:26 PM
The Diaper Lady The Diaper Lady is offline
3dCart Newbie
 
Join Date: Apr 2006
Posts: 11
Default

Quote:
Originally Posted by MagnetMan View Post
You will need to upload a pic of each of the option images you need ... i.e a red shirt image, a blue shirt image etc.

Then under the options tab for the relevant product go the Opt. column relating to the option (red, blue etc) and follow to where you uploaded the the images. Select your corresponding image and bob's uncle!

Good luck

Yes I understand that but my admn appears to be missing that Select link to select my image. Do you have it? Maybe for some reason just my admin is missing it.
__________________
~Bryana

www.softclothbunz.com
Reply With Quote
  #4 ()  
Old 04-27-2007, 08:48 PM
MagnetMan MagnetMan is offline
3dCart Newbie
 
Join Date: Sep 2006
Posts: 12
Default

OK ... Here's how I got it to work.

On the product page under the options tab, in the top part (options name) create an option (eg colors) and select dropImage from the drop down box

Then press "insert"

You will now see the option you just created in a box below.

In that "new" box, press insert again. You should then get a "select" line under the options column. Follow that through to where your images are and ... voila!

Fingers crossed!
__________________
www.mediamagnetics.com
Reply With Quote
  #5 ()  
Old 04-28-2007, 01:56 AM
The Diaper Lady The Diaper Lady is offline
3dCart Newbie
 
Join Date: Apr 2006
Posts: 11
Thumbs up

Quote:
Originally Posted by MagnetMan View Post
OK ... Here's how I got it to work.

On the product page under the options tab, in the top part (options name) create an option (eg colors) and select dropImage from the drop down box

Then press "insert"

You will now see the option you just created in a box below.

In that "new" box, press insert again. You should then get a "select" line under the options column. Follow that through to where your images are and ... voila!

Fingers crossed!
AHHHH!!! I totally missed the dropimage in the dropdown box. I got it! Thanks!
__________________
~Bryana

www.softclothbunz.com
Reply With Quote
  #6 ()  
Old 04-28-2007, 02:02 AM
The Diaper Lady The Diaper Lady is offline
3dCart Newbie
 
Join Date: Apr 2006
Posts: 11
Default

Oh man! I just did one of my products and it doesn't quite work the way i thought it did. my current cart has this feature. when you select a color/print option it changes the main product picture to that color/print. It looks like 3dcart actually places a seperate image next to the color/print dropdown. Oh well.
__________________
~Bryana

www.softclothbunz.com
Reply With Quote
  #7 ()  
Old 04-28-2007, 02:27 AM
GonzaloGil GonzaloGil is offline
Moderator
 
Join Date: Feb 2006
Posts: 239
Default

There is a way to use the drop-image option to change the main image, it requires a javascript and template change...5-10 mins of work (more or less)

Edit:

assets/templates/common/js/listing.js

(Make a backup first, also if you want to retain the normal drop-down image behavior then simply make a copy of the file and name it listing2.js)

Edit the file, find the line 183, should say:

HTML Code:
// change main image //SetSrc(what,"large",GetValue(what,"image_" + what.elements[i].options[what.elements[i].selectedIndex].value));
Change to:

HTML Code:
// change main image SetSrc(what,"large",GetValue(what,"image_" + what.elements[i].options[what.elements[i].selectedIndex].value));
(Basically remove the // from the front of sersrc)

Also remove the previous line:

HTML Code:
SetSrc(what,"img_" + fieldnamemod,GetValue(what,"image_" + what.elements[i].options[what.elements[i].selectedIndex].value));
(erase it from file).

Next, if you do want to keep both behaviors, instead of editing your listing_0.html, make a copy of the file, and name it listing_1.html, if you already have a _1, name it _2, (if you have a _2 already name it _3, etc.)

On the very top of listing_x, you'll see

HTML Code:
<script language="JavaScript" src="assets/templates/common/js/listing.js" type="text/JavaScript"></script>
If you did make a copy of listing.js, make sure you change this to listing2.js or whatever. If you didnt, then you can leave the file that line as is.

Now, still on listing_x.html file, search for:

HTML Code:
<img name="img_[oname]" src="assets/templates/common/images/spacer.gif">
Remove that line. (That's the place holder for the small image, which we don't need any more.)

I hope that's clear, if not, let me know , post the link to an item after you are done!
__________________
----------------------------
Gonzalo Gil
3dCart Support
800-828-6650 x111
Reply With Quote
  #8 ()  
Old 04-28-2007, 03:16 AM
The Diaper Lady The Diaper Lady is offline
3dCart Newbie
 
Join Date: Apr 2006
Posts: 11
Default

Thanks for that info Gonzalo!

You guys are actually working on redesigning my store. Can I ask the design team to do this for me, too!?!
__________________
~Bryana

www.softclothbunz.com
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.6.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8