Title: Hide &#8220;Update&#8221; Button
Last modified: January 4, 2020

---

# Hide “Update” Button

 *  Resolved [jonnytm](https://wordpress.org/support/users/jonnytm/)
 * (@jonnytm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/)
 * Hi
 * Great plugin, works like a charm, thank you!
 * Since the page reloads automatically it would be nice if the “update” button 
   could be hidden. Is there a way to do that?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [taisho](https://wordpress.org/support/users/taisho/)
 * (@taisho)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/#post-12291664)
 * Hello,
 * the button is normally hidden with the plugin through this CSS in its .php file:
 *     ```
       .button[name='update_cart'] {
           display: none!important;
       }
       ```
   
 * It means that the button needs to have a `button` class and `update_cart` name
   attribute which is standard.
 * What theme are you using? Could you link the website where the problem happens?
 * Best regards,
 * Ryszard
 *  Thread Starter [jonnytm](https://wordpress.org/support/users/jonnytm/)
 * (@jonnytm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/#post-12291677)
 * Awesome response time, thank you Ryszard!
 * This is the URL: [https://nahina.ch/new/warenkorb/](https://nahina.ch/new/warenkorb/)
 *  Plugin Author [taisho](https://wordpress.org/support/users/taisho/)
 * (@taisho)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/#post-12291792)
 * Many thanks for the report, based on it I’ve just released an update to the plugin,
   as it is likely to affect a small number of other users.
 * On your page, the button didn’t use `.button` class, it had just some custom 
   classes. Frankly, it came out that in my jQuery code I used a more flexible selector
   to find the button – based only on its name attribute, that’s why it worked. 
   Now the CSS selector also uses the name attribute only.
    -  This reply was modified 6 years, 5 months ago by [taisho](https://wordpress.org/support/users/taisho/).
 *  Thread Starter [jonnytm](https://wordpress.org/support/users/jonnytm/)
 * (@jonnytm)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/#post-12291801)
 * Works!
 * That was the most impressive support I have ever received from a plugin developer.**
   Thank you!**

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hide “Update” Button’ is closed to new replies.

 * ![](https://ps.w.org/ajax-cart-autoupdate-for-woocommerce/assets/icon.svg?rev
   =2085910)
 * [Ajax Cart AutoUpdate for WooCommerce](https://wordpress.org/plugins/ajax-cart-autoupdate-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-cart-autoupdate-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-cart-autoupdate-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-cart-autoupdate-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-cart-autoupdate-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-cart-autoupdate-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [jonnytm](https://wordpress.org/support/users/jonnytm/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/hide-update-button/#post-12291801)
 * Status: resolved