View Single Post
  #5  
Old 04-26-2006, 11:12 AM
 
pafaaronm pafaaronm is offline
 

Newbie
  
Join Date: Apr 2006
Posts: 6
 

Default

Thank you again.

So this is my customer_options.tpl

Can I just put a
in there somewhere? Where?
This stuff is kicking my ass.



Code:
{* $Id: customer_options.tpl,v 1.9.2.2 2004/03/30 12:38:54 svowl Exp $ *} {section name=product_option loop=$product_options} <tr> <td valign=middle height=25> {if $usertype eq "A"} { $product_options[product_option].optclass }: {else} { $product_options[product_option].opttext } {/if} </td> <td colspan=2 valign=middle> {if $cname ne ""} {assign var="poname" value="$cname[`$product_options[product_option].optclass`]"} {else} {assign var="poname" value="product_options[`$product_options[product_option].optclass`]"} {/if} {if $product_options[product_option].options ne ""} {assign var="options" value=$product_options[product_option].options} <select name="{$poname}"{if $disable} disabled{/if}> {section name=option loop=$options} <option value={$smarty.section.option.index}{if $options[option].selected ne ""} selected{/if}>{$options[option].option}{if $options[option].surcharge ne 0} ({$options[option].surcharge|value_sign:"1"}{if $options[option].type eq "absolute"}{$config.General.currency_symbol}{$options[option].surcharge|abs_value}{else}{$options[option].surcharge|abs_value}%{/if}){/if}</option> {/section} </select> {else} <input type=text name="{$poname}" size=32 value="{$product_options[product_option].options_string}"> {/if} </td> </tr> {/section} {if $err eq "options" and $options_ex ne ""} <TR> <TD colspan=2><FONT class=CustomerMessage>Warning! The product cannot be added to cart because the following combination of options is not available:</FONT></TD> </TR> <TR valign=top> <TD colspan=2> {section name=oi loop=$options_ex} * {$options_ex[oi].exception} {/section} </TD> </TR> {/if}

Maybe the customer/main/product.tpl will be easier for me.
I'll go take a look.
__________________
X-Cart version 3.5.7
PHP 4.3.11
MySQL server 4.0.20-standard-log
MySQL client 3.23.58
Web server Apache/2.0.51 (Fedora)
Operation system Linux
Perl 5.008003
XML parser (expat) found

https://paf.patientadvocate.org
Reply With Quote