Closed (works as designed)
Project:
Ubercart Option Images
Version:
6.x-1.4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2009 at 15:28 UTC
Updated:
2 Jan 2014 at 19:06 UTC
Jump to comment: Most recent
Comments
Comment #1
j. ayen green commentedThe 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
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
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.
Comment #2
Clint Eagar commentedSame here, an example node.tpl.php would be great.
Comment #3
zarudnyi commentedAll work properly on any node.tpl.php, but who use it ubercart? Common template for products is node-product.tpl.php file.
Comment #4
acouch commentedYou 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.'