• Resolved jackson1986

    (@jackson1986)


    Hi

    To access the website jqevents.net as a visitor, use the password

    I would like to remove “proceed to checkout” button from cart button. How could I do it? Thank you for your help.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • You mean change the text on the button to something else?

    Try something like this in your child themes functions.php:

    
    function woocommerce_button_proceed_to_checkout() {
     $checkout_url = WC()->cart->get_checkout_url(); ?>
     <a>" class="checkout-button button alt wc-forward">
     <?php esc_html_e( 'Secure Checkout', 'woocommerce' ); ?>
     </a>
     <?php
    }
    
    Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    You could probably hide that button using custom CSS as well. I tried to craft that CSS for you, but there doesn’t seem to be any products available to add to the cart – which will allow me to craft that CSS for you.

    Instead, all I’m seeing is this:


    Link to image: https://cld.wthms.co/fudLOK

    Thread Starter jackson1986

    (@jackson1986)

    Thank you.

    To access the website as a visitor, the password is

    You can go to this page https://jqevents.net/tableware/chargers/ and add the item to cart. Then go to this page https://jqevents.net/cart . You could see “proceed to checkout” button at the bottom. Thanks a lot.

    something like this will do the trick

    a.checkout-button.button.alt.wc-forward {
        display: none;
    }
    Thread Starter jackson1986

    (@jackson1986)

    Thank you very much! Really appreciate your help.

    It worked.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘removing “proceed to checkout” button from cart page’ is closed to new replies.