I want to move my swatch option after product name. If anyone have idea how to do?

Please let me know.

  • Swatch options must be within the product add to cart form. if you move swatch options outside the form, product will not adding to cart properly. Aug 30, 2019 at 11:39
  • check with your catalog_product_view.xml Aug 30, 2019 at 11:59

1 Answer 1


You can't move swatch option up since doing it will push it outside the form and you won't be able to add product to cart. However, you can move everything above the swatch option into the form, below the swatch option

If you're using the default theme, you can move them as below:


<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <move element="product.info.price" destination="product.info.options.wrapper"/>
        <move element="product.info.review" destination="product.info.options.wrapper" before="product.info.price"/>


enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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