View Single Post
  #8  
Old 04-26-2005, 08:30 AM
 
dsparks dsparks is offline
 

Advanced Member
  
Join Date: Nov 2002
Posts: 34
 

Default

To add more payment types, you can just keep adding "or" statements to the if, like this:

Code:
{if $destination eq "L" or ($destination eq "I" and $payment_methods[payment].payment_method eq "PayPal") or ($destination eq "I" and $payment_methods[payment].payment_method eq "Gift Certificate")}

Note: Make sure the code above is all on one line. It looks like the display is multi-lined but it all has to be on the same line.

Yes, you can add a note inside the "Payment method" box. This is what I did:

In the file skin1/customer/main/checkout.tpl change the code around line 65 from:

Code:
{capture name=dialog} <form method=get action="cart.php" name=checkout_form> <table border=0 align=center>

to this:

Code:
{capture name=dialog} <table border=0 align=center width=100%> <tr> International customers may only use Paypal and Gift Certificates as a payment options. </tr> </table> <form method=get action="cart.php" name=checkout_form> <table border=0 align=center>


This text will be displayed right above the payment types.

Hope this helps...
__________________
X-Cart Gold: v4.0.17
Reply With Quote