<select class="license_type" name="license_type" id="license_type">
<option value="license" data-set="500">Single Site License</option>
<option value="license" data-set="700">5 Site License</option>
<option value="license" data-set="1400">Developers License</option>
</select>
In the woocommerce variation product - I want to add some data-set tags in option tag.
data-set="<? php some code here to pull the price of the variation ?>"
Is that possible through hook/filter.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…