| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Move checkout payment input fields into Shipping / Payment | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
Move checkout payment input fields into Shipping / Payment
I included a screenshot to help explain what I'm trying to reorder on the XC5 checkout screen.
I'm trying to move the <div class="payment-tpl"> from the Reviews are in XC5's Checkout over to display below the step 4 "Payment methods" subsection, but I cannot seem to figure out how to make the getPaymentTemplate() function work in a different TPL. When I try to move <div class="payment-tpl"> into a paymentMethods.tpl, XC5 throws errors saying the getPaymentTemplate method is undefined.
__________________
X-Cart Version: 5.2 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Move checkout payment input fields into Shipping / Payment
I believe it is X-Payments that renders the credit card form. If so, I think moving the form to the second column may be not an easy task (if possible at all) - due to security reasons X-Payments may require it to be the last thing that a custom completes on the page before clicking the Place Order button. But I'm not sure 100% here.
Quote:
It is because every template in XC5 has a widget class that shares its methods with the template. You moved the template to a different place, and this might change the widget class (some templates inherit the widget class from parent templates). Try to enable the Webmaster mode (added by Theme Tweaker module) - when it is enabled the storefront displays a sidebar with information on used templates and widget classes associated with templates.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|