• Resolved ronr1999

    (@ronr1999)


    ** FOUND IT ** Change woocommerce_proceed_to_checkout to woocommerce_before_cart in wc-cart-pdf.php > function wc_cart_pdf_button()

    —————————————-
    It’s working great! Thank you!

    I’d like to move the button to the top of the cart – it gets lost if the number of cart’s items is long. How do I move the button to the top of the cart?

    Ron

    • This topic was modified 4 years, 7 months ago by ronr1999.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author David Jensen

    (@dkjensen)

    Hi Ron

    You can move the button up using the following in your child theme functions.php

    remove_action( 'woocommerce_proceed_to_checkout', 'wc_cart_pdf_button', 21 );
    add_action( 'woocommerce_before_cart', 'wc_cart_pdf_button' );
Viewing 1 replies (of 1 total)
  • The topic ‘Move button to the top of the cart’ is closed to new replies.