Inventory Indicator


Enable "Unavailable"
product options for Waitlist

To Enable options in the product dropdown list when they are "Unavailable" and replace the "Unavailable" text with "Join the Waitlist", add the code below to Code Injection or to the shop page header code injection.

Before

After

 
<!-- Enable "Unavailable" product options for Waitlist
     Enable options in the product dropdown list when they are "Unavailable" and replace the "Unavailable" text with "Join the Waitlist"
     Author: Dmytro Kyselov https://dmytrokyselov.com/ -->
<script>document.addEventListener('DOMContentLoaded', function(){ setTimeout(function(){ function enableOption(option){ option.removeAttribute('disabled'); option.setAttribute('label', option.getAttribute('label').replace('Unavailable', 'Join the Waitlist'));} [...document.querySelectorAll('.product-details .variant-option select option[disabled]')].forEach(enableOption);},500);});</script>
<!-- end Enable "Unavailable" product options for Waitlist -->
Next
Next

Mega Menu