| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Move Amazon Payments Button? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
How do I move the Amazon Payments button? It's appearing in the top right-hand corner of my template and I'd like it to appear under the payment methods (which seems more logical). Thank you.
__________________
X-Cart 5.3 |
|||||||
#2
|
|||||||
|
|||||||
![]() Quote:
I did it by dropping the following code: Code:
in "mytheme/customer/checkout/steps/shipping/parts/paymentMethodsList.twig"
__________________
X-Cart 5.3 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() This template is displayed by \XLite\Module\Amazon\PayWithAmazon\View\CheckoutBu tton widget.
Replacing the template file through a custom theme will work, but a better solution would be decorating the widget class from a custom module and making its isVisible() method always return FALSE - this will hide the whole widget, not just the HTML part.
__________________
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 |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|