• Resolved wooq123

    (@wooq123)


    Is it possible to relocate the Amazon pay button to the top of the cart page, and make it display at the top of the checkout page?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @wooq123

    Hope you are doing well!

    Please check this guide, might help you to move the button.

    Best,
    Christian

    Thread Starter wooq123

    (@wooq123)

    Is there a clear instruction on exactly what to put in the functions.php file that won’t break the site? If I paste the php they provide, it breaks the site. The instructions don’t provide full context of how the php should be added to the site’s functions.php file.

    This breaks the site if put in functions.php:

    add_action( ‘woocommerce_before_checkout_form’, array( $this, ‘checkout_message’ ), 5 );

    add_action( ‘before_woocommerce_pay’, array( $this, ‘checkout_message’ ), 5 );

    Plugin Support Christian

    (@christian1983)

    Hey @wooq123

    Hope you are doing well!

    There are no exact instructions, as the process depends on various factors such as the theme, position, and other plugins that may influence the functionality. This guide is meant to serve as a starting point and outline the hooks you’ll need to proceed.

    If you lack the technical knowledge, it is recommended to consult a developer for assistance.

    Best,
    Christian

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.