Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1208625
    maghrabi42
    Participant

    Hello,
    I need update cart button on the cart page I already useing a code on css for some remove field so i need to upgrade it
    #post-5 #x-section-2 .forcefullwidth_wrapper_tp_banner {
    margin-top: 10px !important;
    }
    .woocommerce-cart td.actions,.woocommerce-cart .cart-collaterals table.shop_table.shop_table_responsive,.woocommerce-cart .cart-collaterals h2 {
    display: none;
    }
    .woocommerce-cart .wc-proceed-to-checkout {
    margin: 0 !important;
    }

    please if you can help me for that
    thanks alot

    #1208632
    Christopher
    Moderator

    Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.

    #1208663
    maghrabi42
    Participant

    Hello,
    I should update this ticket: https://community.theme.co/forums/topic/remove-field-on-cart-page/
    sorry for that if you see the ticket your help me for remove some field on cart page but I need now the the button (update to cart)
    thank you and have a nice day 🙂

    #1208666
    maghrabi42
    Participant

    only 2 button on the page
    continue to pay and update to cart
    thank you

    #1208675
    Christopher
    Moderator

    Hi there,

    Please update this code :

    .woocommerce-cart td.actions,.woocommerce-cart .cart-collaterals table.shop_table.shop_table_responsive,.woocommerce-cart .cart-collaterals h2 {
        display: none;
    }

    To :

    .woocommerce .cart .actions .coupon, input.button[name="apply_coupon"], .woocommerce-cart .cart-collaterals table.shop_table.shop_table_responsive, .woocommerce-cart .cart-collaterals h2 {
        display: none;
    }
    
    input.button[name="update_cart"] {
        display: block;
        margin: 6px auto 0;
    }
    

    Hope it helps.

    #1209442
    maghrabi42
    Participant

    wonderful work thank you so much 🙂

    #1209483
    Christopher
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1208625 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>