Skip to content
Advertisement

Tag: custom-fields

Disable add to cart button via custom checkbox in WooCommerce product settings

We want to prevent add to cart for certain upcoming products. We want to have a checkbox to select the specific product on which we want to prevent add to cart. We have right now the checkbox and save code. I also found this: Remove add cart button in Woocommerce for a specific product category and https://wisdmlabs.com/blog/the-right-way-to-hide-add-to-cart-button-in-woocommerce/ I’m not sure,

Advertisement