I am trying to achieve something like this, I am attaching an image for your to understand me correct. I have Visual Swatch for my colors and Text Swatch for my product sizes. I want to encapsulate my product sizes in a dropdown. I've found an option to edit the vendor/magento/module-swatches/view/frontend/templates/product/listing/renderer.phtml but this is not only for the Text Swatch and it encapsulate all swatch opt.

Product size dropdown

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.