Home / Forums / WoodMart support forum / Disable Add-to-Cart button for Out of Stock products with Waitlist module
Home › Forums › WoodMart support forum › Disable Add-to-Cart button for Out of Stock products with Waitlist module
Disable Add-to-Cart button for Out of Stock products with Waitlist module
- This topic has 7 replies, 2 voices, and was last updated 1 week, 4 days ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
August 13, 2026 at 5:49 pm #726705
MYPParticipantHi,
I’d like to disable the qty selection & add to cart button for out of stock products.
We have set up the Waitlist module and we ONLY want to show the waitlist form to the customer and NOT the add to card + qty selection button.Secondly, i’d like to know how to modify all the text in the waitlist form.
SCREENSHOT ATTACHED
Attachments:
You must be logged in to view attached files.August 14, 2026 at 10:35 am #726768Hello,
01. Navigate to Theme Settings > Custom CSS > Global Custom CSS and paste this code.
/* Hide Quantity, Add to Cart, and Buy Now buttons when an out-of-stock variation is selected */ .woocommerce-variation-add-to-cart-disabled .quantity, .woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button, .woocommerce-variation-add-to-cart-disabled .wd-buy-now-btn { display: none !important; }02. To change the text, you can use the Loco Translate plugin to modify the strings.
Please follow this guide: https://xtemos.com/docs-topic/translate-woodmart-theme-with-loco-translate/Best Regards
August 14, 2026 at 11:21 am #726788
MYPParticipantThis code causes the add-to-cart button to disappear even for products that are in stock.
Kindly send the revised code.August 14, 2026 at 2:15 pm #726832Hello,
Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.
Best Regards
August 14, 2026 at 2:29 pm #726834
MYPParticipantHi,
Shared credentials privately.August 15, 2026 at 9:26 am #726915Hello,
Navigate to Theme Settings > Custom CSS > Global Custom CSS, paste this code, and check how it works:
/* Hide Quantity, Add to Cart, and Buy Now ONLY when an out-of-stock variation is explicitly selected */ .single-product .single_variation_wrap:has(.out-of-stock) .quantity, .single-product .single_variation_wrap:has(.out-of-stock) .single_add_to_cart_button, .single-product .single_variation_wrap:has(.out-of-stock) .wd-buy-now-btn { display: none !important; }Best Regards
August 15, 2026 at 1:56 pm #726922
MYPParticipantThanks. This worked.
One more request please…
Is there a way to also ask for their whatsapp number in the form in addition to the email?
If not possible, can we just replace the email with Whatsapp?If someone fills the waitlist form with their whatsapp number, will we recv an email with these details?
August 15, 2026 at 4:11 pm #726927Hello,
The current WoodMart Waitlist form is designed to collect the email address, and there is no built-in option to add a separate WhatsApp/phone number field. It requires customizations, and this is beyond our limitations and support policy.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register