I was trying to look for this in the page but can't find.
I was trying to code a 3 buttons where each of this buttons will add a "selected" attribute based on the value or by "value within the id" but my brain cant work it out.
here is my code so far
<button> 1 Bottle</button>
<button> 3 Bottle Super Saver Bundle</button>
<button> 6 Bottle Super Saver Bundle</button>
<form>
<select class="elOrderProductVariationSelectValue" data-type-id="22439" id="variant-type-value-22439">
<option value="69663">Single Bottle</option>
<option value="69664">3 Bottles</option>
<option value="69665" selected="">6 Bottles</option>
</select>
</form>
<script>
var select = document.getElementById('variant-type-value-22439');
function select1bottle(){
//
}
function select3bottle(){
//
}
function select6bottle(){
//
}
</script>