Right now if you want to change the markup of the <select> coming from product_variants tag then you must create basically another tag and duplicate this addons tag code. The methods responsible for creating the markup are private, and I cannot simply extend the ProductVariants tag class and just override parseOptions, where I could add the HTML attribute I want. Ideally, in my opinion, this templating should be moved to antlers or blade templates.
Right now if you want to change the markup of the
<select>coming fromproduct_variantstag then you must create basically another tag and duplicate this addons tag code. The methods responsible for creating the markup areprivate, and I cannot simply extend the ProductVariants tag class and just overrideparseOptions, where I could add the HTML attribute I want. Ideally, in my opinion, this templating should be moved to antlers or blade templates.