View Single Post
  #114  
Old 09-23-2004, 09:54 AM
  rjcbear's Avatar 
rjcbear rjcbear is offline
 

X-Adept
  
Join Date: Jun 2004
Location: Alabama,U.S.A
Posts: 503
 

Default

Quote:
If you post up your full checkout.tpl I'll modify it for you. Otherwise, use this code as a basis (I've modified mine so there may be changes)

Note that this is going to move the payment method above for all payment methods, not just the gift certificates.

FIND THIS CODE IN skin1/customer/main/checkout.tpl

Here it is.

Code:
{* $Id: checkout.tpl,v 1.37 2003/11/17 12:10:16 mclap Exp $ *} {include file="location.tpl" last_location=$lng.lbl_payment_details} {if $payment_data.payment_method ne ""} <h5>{$lng.lbl_payment_method}: {$payment_data.payment_method}</h5> {capture name=dialog} <table border=0 cellpadding=0 cellspacing=0 width=100%> <form action="{$payment_data.payment_script_url}" method=post name=checkout_form> <input type=hidden name=action value="place_order"> <tr><td> <pre> <font> {include file="customer/main/customer_details.tpl"} </font> </pre> {include file="buttons/modify.tpl"} {if $ignore_payment_method_selection eq ""} <div align=right> {include file="buttons/change_payment_method.tpl"} </div> {/if} <input type=hidden name={$XCARTSESSNAME} value={$XCARTSESSID}> {if $payment_data.payment_template ne ""} {include file=$payment_data.payment_template} {/if} {include file="customer/main/checkout_notes.tpl"} <input type=hidden name=payment_method value="{$payment_data.payment_method}"> {$lng.txt_you_are_agree} "{$lng.lbl_terms_n_conditions}" {$lng.lbl_and} "{$lng.lbl_privacy_statement}". <p align=center> {if $js_enabled} {include file="buttons/submit_order.tpl" style="button"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_submit_order} {/if} </td></tr> </form> </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_payment_details content=$smarty.capture.dialog extra="width=100%"} {elseif $payment_methods ne ""} {capture name=dialog} <form method=get action="cart.php" name=checkout_form> {$lng.txt_payment_method}</p> <table border=0 align=center> {section name=payment loop=$payment_methods} <tr> <td width=1><input type=radio name=paymentid value={$payment_methods[payment].paymentid}{if $payment_methods[payment].is_default eq "1"} checked{/if}></td> <td nowrap>{$payment_methods[payment].payment_method} </td> <td>{$payment_methods[payment].payment_details}</td> </tr> {/section} <input type=hidden name=mode value=checkout> </table> <div align=center> {if $js_enabled} {include file="buttons/continue.tpl" style="button"} {else} {include file="submit_wo_js.tpl" value=$lng.lbl_continue} {/if} </div> </form> {/capture} {include file="dialog.tpl" title=$lng.lbl_payment_method content=$smarty.capture.dialog extra="width=100%"} {/if}

Thank you
Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11
Apache Version 1.3.29 (Unix)
EWDHosting-Quality X-cart Hosting
We will always sell you the right shoe and the left one is free.
Reply With Quote