Hi, please, provide some information about using Ubercart Option Images with different than Gorland themes.
Also if someone have solution for replacing default product image with Ubercart Option Images, please, share your kknowledge.
Thanks.

Comments

j. ayen green’s picture

The readme.txt file really says nothing about theming, other than if you use node.tpl.php you don't have to.

Pretty much nobody with a store is going to use node.tpl.php. Please provide simple instructions as to what needs to be done to get a node-products.tpl.php file to work. I see in the html that the option images are there in a jQuery line, but not in html.

What is not in the page source when using the node-product template, but IS there when using node-product, is the following

Only local images are allowed. ... one Only local images are allowed. for each option. What needs to be printed in the template file in order to get this?

I assume the images are part of an array, and perhaps they can be created by iterating through one of the $node fields and printing it...but what about the div? And the 5 appended to the id? And does something else need to be done to tie the

and Only local images are allowed.'s to the switch functionality?

A simple example of a template that doesn't just print $content, that prints explicitly what is needed to get the switch to cause images to appear would be greatly appreciated.

Clint Eagar’s picture

Same here, an example node.tpl.php would be great.

zarudnyi’s picture

Status: Closed (works as designed) » Active

All work properly on any node.tpl.php, but who use it ubercart? Common template for products is node-product.tpl.php file.

acouch’s picture

Status: Active » Closed (works as designed)

You can make the product image not display by editing the content type for your product and selecting 'hidden' in 'display fields'. Not sure what you are referring to with 'not being able to work in a theme other than Garland.'

Status: Active » Closed (works as designed)