Option Images

Contrib type: 
Module
Status: 
Work in progress

Downloads

Compatibility: 
Ubercart 1.x

For more information view the project page.


Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Option Images

Awesome. Hope it goes well. Cool

TimK's picture
Offline
Joined: 08/18/2007
Juice: 147
Re: Option Images

Great module. Thanks! Just what I was looking for.

Insurrectus's picture
Offline
Spreading the word - Ubercart for president.
Joined: 08/22/2007
Juice: 364
Re: Option Images

I cannot figure out how to add an image for an option. I've enabled the module and the settings are configured correctly. Are there any instructions around?

tjholowaychuk@drupal.org's picture
Offline
Joined: 12/05/2007
Juice: 23
Re: Re: Option Images

It is a little confusing due to how 'nested' the Ubercart system is. If you create a product, and then edit that product, you should have an 'options' tab where you can add/edit/remove options for the attributes u have given that product. This is where you will see the file fields allowing you to upload the images.

So for example; node/2/edit/options

tjholowaychuk@drupal.org's picture
Offline
Joined: 12/05/2007
Juice: 23
Thanks was surprised this

Thanks Laughing out loud
was surprised this module had not been created already!

Alaska's picture
Offline
Joined: 10/16/2007
Juice: 1434
Option Images - Images the same for all options

Trying option images. So far it is posting the same image for all options. Any solutions?

Jim

PS

This has also been posted on Drupal.

AttachmentSize
images.png 111.37 KB
TimK's picture
Offline
Joined: 08/18/2007
Juice: 147
Theming Question

Hi.

When I add the following to product-node.tpl.php, the first 'option images' pic appears, but the images do not change when a different attribute is selected. Any suggestions on what I need to add to get it working? Thanks!

<?php
print $node->content['option_image']['#value']; 
?>

I need to do it without using:

<?php
print $content
?>