View Single Post
  #38  
Old 01-08-2005, 09:26 PM
 
markwhoo markwhoo is offline
 

X-Adept
  
Join Date: Nov 2003
Posts: 799
 

Default

Quote:
Originally Posted by bluecat
I'm not quite sure how to call the information via the template. What would be an example inside the detail.tpl?

This is basic description: {$product.descr}

the detailed description is: {$product.fulldescr}

Place this inside of a small table on your detail.tpl file:

Code:
<SPAN class=>{if $product.fulldescr ne ""}{$product.fulldescr} {else}{$product.descr} {/if} </SPAN>

remember to pull out the full line of code in the description area of the product.tpl, and just leave the {$product.descr}

This way you have a shot description, yet all of the details will show in your detail.tpl.

the array is set up so that if there are NO details, then it will display a repeat of the short description.

Clear as mud?
__________________
vs 4.1.12
Reply With Quote