How to replicate a mobile menu from a site to a wordpress site [closed]
How to replicate a mobile menu from a site to a wordpress site [closed]
How to replicate a mobile menu from a site to a wordpress site [closed]
Variations as Single Products [closed]
Auto generating API keys using the Application Authentication Endpoint [closed]
I think you can update the condition of your function remove_add_cart_button to check for products, something like the code below: /** * Remove add to cart button */ function remove_add_cart_button(){ // Products $product_ids = array(110, 111, 112); //todo: put your product ids here if(in_array(get_the_ID(), $product_ids)){ remove_action(‘woocommerce_single_variation’, ‘woocommerce_single_variation_add_to_cart_button’, 20); } }
Achieve the following layout
BuddyPress Xprofile Field Meta Key?
jQuery Snippet Not Working on WordPress Site [closed]
custom post filter based on Visitors country
Disable Woocommerce Block Editor
pre_get_posts has php notice when not on CPT archive