View Single Post
  #3  
Old 11-14-2006, 02:06 PM
  connemara's Avatar 
connemara connemara is offline
 

Senior Member
  
Join Date: Jan 2006
Location: Vancouver Island, Canada
Posts: 167
 

Default Re: custom template- moving price info to top

I am using a different cart version for this than you but it may not make any difference.
First, I got Jon's mod for custom templates to manage the new ones I wanted to make.

Next, duplicated product.tpl and called it a new name (product_snacks.tpl) for example. That way I can still use the default template for other items.

I moved the part of the code referencing the description from the location at the top beside the thumbnail, (yours may be different and this also includes the glossary module) but find the $product.fulldescr ne part:

{if $product.fulldescr ne ""}
{include file="customer/fts_glossary.tpl" text=$product.fulldescr}
{else}
{include file="customer/fts_glossary.tpl" text=$product.descr}
{/if}


and moved it down to the bottom before this part below, and put it into a block element (div or table)

{/capture}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%"}
{/if}

{if $active_modules.Product_Options ne '' && $product_options ne ''}
<SCRIPT type="text/javascript" language="JavaScript 1.2">
check_options();
</SCRIPT>
{/if}


The custom template mod enables me to switch easily between the different templates, depending on how I want a particular product's information to be set up.

Does that help?

Connie
__________________
Versions 4.7.6
multiple mods and customizations
Reply With Quote