I want to move my
swatch option after
product name. If anyone have idea how to do?
Please let me know.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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
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"> <body> <move element="product.info.price" destination="product.info.options.wrapper"/> <move element="product.info.review" destination="product.info.options.wrapper" before="product.info.price"/> </body> </page>