| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
During Checkout, Howto check Payment Method? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'd like to customize the Checkout Process, and would like to echo some HTML based upon an if statement.. I want to do something along the lines of after the customer selects their payment method, on the following page.. if the payment method is credit card, echo this.. if check, echo this.. How would this if statement look, and whats the variable for payment method? Thanks
__________________
Jeremy Freeman EZWatch Store X-Cart v4.1.5 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() You can't echo, you'd need to edit the smarty tpl files.
You can edit your skin1/customer/main/checkout.tpl to use an if statement such as: Code:
You can view the radio select buttons in your source pages to find out what numbers are what. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Thank you for your time, I was able to complete what I was needing to do with the information you provided.
Just a fyi for anyone reading, $payment_data.payment_method in 3.5.14 of X-Cart actually returns the name of the payment method.. "Check" or "Credit Card".. not the number.
__________________
Jeremy Freeman EZWatch Store X-Cart v4.1.5 |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Good to know. You aren't by any chance from Abby are you?
|
|||||||||
#5
|
|||||||
|
|||||||
![]() Quote:
Abby? Cant say I am.. What or Where is Abby?
__________________
Jeremy Freeman EZWatch Store X-Cart v4.1.5 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() If you don't know then your not
![]() |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|