How do I remove the "amazon pay" icon from the shipping step?
If i set "Configuration"->"Payment Method"=>"Amazon Pay"=>"Advanced"->"Display Amazon Pay Method" to "No", then it'll be removed, but it also remove the Amazon Pay option in the "Review & Payments" step.
I would like to remove it from the "shipping step" only, how can i achieve that?
Magento – remove amazon pay icon from shipping step
amazon-paymentcheckoutmagento2onepage-checkoutphtml
Best Answer
You can remove this UI component via layout using
componentDisabled
property.Add this to your
checkout_index_index.xml
file: