I want to move a block next to size attribute label:

enter image description here

How can I do this?

Thank you very much!!


I think you can not move block between two configurable options via xml. Configurable product attributes are render by vendor\magento\module-configurable-product\view\frontend\templates\product\view\type\options\configurable.phtml. So if you want to display block next to size attribute you have to override this file, and call your block in this file.

  • 2
    Yes, @IvannVerano It is right.You are not call configurable options via xml.So you try phtml file. – Mohit Patel Sep 26 '20 at 15:42
  • 1
    Yeees!!! Works Thank you very much Sebastian!!!! – IvannVerano Sep 28 '20 at 11:44
  • You're welcome! – SebastianT Sep 28 '20 at 12:10

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.