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. |
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. |
All times are GMT -8. The time now is 06:27 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.