Support » Plugin: Amazon Payments » Move Pay With Amazon Button

  • Move Pay With Amazon Button from top of page to payment options area. I would like to move this payment option to the bottom of the checkout page and include all billing options for my customers in one place. My customers have asked why they have to scroll back to the top of the page to pay with Amazon. Can you advise which code to add or remove so I can increase my Amazon sales rather than confusing my customers please??

    Thank you in advance for you time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Stear111, did you ever get this figured out?
    We’d love to do the same for our site.
    Thank you!

    Thread Starter stear111


    Hi Tim,

    This is the codeing I was using (I didn’t write it, but found it on a forum somewhere) it worked great for me, you might have to tweek, but like I said, worked for my Theme.


    “First lets remove the code that puts the banner at the top of the checkout page:
    open /wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/amazon-payments-advanced.php

    go to line 238 to find the “public function checkout_message”
    on line 239 comment out the echo and do the same for line 242, so in the end it will look like this:”

    Then place the following code:

    <?php if($_GET[‘amazon_payments_advanced’] == “true”){ } else {echo ‘<br><div id=”pay_with_amazon” style=”float:left;”></div> ‘ . apply_filters( ‘woocommerce_amazon_pa_checkout_message’, __( ”, ‘woocommerce-gateway-amazon-payments-advanced’ ) );
    echo “<br>”; }?>

    at line 25 in:

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Move Pay With Amazon Button’ is closed to new replies.