Hello, I was hoping someone could help me with some code.
When the stock reaches zero, I have our store set up to display an out of stock button. I just changed the language to display a disabled pre-order button when the stock reaches zero.
I would still like customers to pre-order the item if we are out of stock by clicking on the now updated pre-order button.
How can I enable a disabled button, specifically How can I allow a customer to click the pre-order button which was disabled before and instead enable it to take customer to cart and checkout for a successful pre order purchase? What code is needed AND where do I input?
Store is the following: https://capgown.com/
Example: https://capgown.com/products/complete-doctoral-regalia-for-university-of-minnesota?variant=31750911393844
Theme: Mega Theme + PageFly Assets