| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Force to payment page if only one payment method is avail. | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Force to payment page if only one payment method is avail.
My store has exactly one payment method: credit card. On checkout, X-Cart shows a screen with one radio button, marked "Credit Card: Visa, Mastercard, etc.". This is ridiculous and I want to skip this screen entirely.
How can I get rid of this screen and have it skp directly to the next screen? There's so much logic mixed up in these Smarty templates it's impossible to tell what's going on, or how changing the templates will break other aspects of the product. |
|||||||
#2
|
|||||||||
|
|||||||||
Code:
Add the above to customer/cart.php after the following code: Code:
\
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Hi Boomer, Is it possible to skip payment method selection page in case of more than one payment methods? May be the selection of payment methods can be made at "step-1" instead of a having seperate page.
In short, my goal is to shorten the steps. Ideally I would like just ONE page to checkout no matter how bad it looks. |
|||||||
#5
|
|||||||
|
|||||||
force to payment page since 1 payment method
Hello,
You had suggested this: # force to payment page if only one payment method is available if(!$payment_methods[1]){ func_header_location("cart.php?mode=checkout&payme ntid=".$payment_methods[0][paymentid]); } I am placing this in the right spot that you've recommended, but when I have this code in there, the page just comes up blank at that point. Any suggestions? Thanks, Kevin |
|||||||
#7
|
|||||||
|
|||||||
Skip payment method selection screen
Hi - thanks for the quick response. Yes - credit card is the only payment method. When you get to the payment method screen, Credit Card is the only available option and you have to click the radio button and next to get to where they're going.
Any ideas? http://thebeachwaterpark.com/shop/customer/home.php Thanks, Kevin Quote:
|
|||||||
#9
|
|||||||
|
|||||||
Hi Boomer, I can't get the cart working, I mean the link you have provided. Though I couldn't see, I would say any simplyfication of checkout will be appreciated. I have removed unimportant text boxes, but would be great to merge the steps. I know that the "selection of payment method" step is not dependent on the previous step, so why can't we merge it with the previous step? Thanks for looking into this.
|
|||||||
#10
|
|||||||
|
|||||||
Re: Force to payment page if only one payment method is avail.
I spent 1 hour trying to implement this, and finally noticed that this is implemented by default in 4.1.8, lol, so this hack is not necessary in newer versions.
__________________
4.1.8 Gold (Unix) |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|