View Single Post
  #2  
Old 10-19-2003, 01:31 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Code:
# force to payment page if only one payment method is available if(!$payment_methods[1]){ func_header_location("cart.php?mode=checkout&paymentid=".$payment_methods[0][paymentid]); }

Add the above to customer/cart.php after the following code:

Code:
# # Show checkout page with payment options only methods availiable to current # membership level are displayed # $membership = $user_account["membership"]; $payment_methods=func_query("select * from $sql_tbl[payment_methods] where active='Y' AND (membership='' OR membership='$membership') order by orderby");

\
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote