View Single Post
  #111  
Old 09-23-2004, 09:44 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Quote:
Originally Posted by rjcbear
Yes Jon. I think that will help alot.

Kind regards,
Ricky

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

Code:
{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> <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> {if $ignore_payment_method_selection eq ""} {/if} {/capture} {include file="dialog.tpl" title=$payment_data.payment_method content=$smarty.capture.dialog extra="width=100%"}

CUT AND PASTE IT IN THE FILE ABOVE THIS CODE:

Code:
{capture name=dialog} {include file="customer/main/customer_details.tpl"} {/capture} {include file="dialog.tpl" title=$lng.lbl_payment_details content=$smarty.capture.dialog extra="width=100%"}
Reply With Quote