Skip to main content

DO NOT follow the instructions above if youryou are using Magento2 EE

"Copy file with Name addtocart.phtml & paste it to below location in your theme"

this will break your catalog product page with an error "An element with a "product.price.final" ID already exists."

you instead can try moving it like this

    <move element="product.price.final" destination="product.info.addtocart" before="-"/>

and then using cssCSS / flex grid you can do a column-reverse and adjust the sort order top to bottom for example.. the other solution is just REPEATING the "product.price.final" in a template causing other layout xmlXML implementation to become a duplicate and error

DO NOT follow the instructions above if your using Magento2 EE

"Copy file with Name addtocart.phtml & paste it to below location in your theme"

this will break your catalog product page with an error "An element with a "product.price.final" ID already exists."

you instead can try moving it like this

    <move element="product.price.final" destination="product.info.addtocart" before="-"/>

and then using css / flex grid you can do a column-reverse and adjust the sort order top to bottom for example.. the other solution is just REPEATING the "product.price.final" in a template causing other layout xml implementation to become a duplicate and error

DO NOT follow the instructions above if you are using Magento2 EE

"Copy file with Name addtocart.phtml & paste it to below location in your theme"

this will break your catalog product page with an error "An element with a "product.price.final" ID already exists."

instead can try moving it like this

    <move element="product.price.final" destination="product.info.addtocart" before="-"/>

and then using CSS / flex grid you can do a column-reverse and adjust the sort order top to bottom for example.. the other solution is just REPEATING the "product.price.final" in a template causing other layout XML implementation to become a duplicate and error

What worked for me is following:DO NOT follow the instructions above if your using Magento2 EE

At"Copy file with Name addtocart.phtml & paste it to below location in your theme"

app/design/frontend/Vendor/mytheme/Magento_Catalog/layout/catalog_product_view.xml

this will break your catalog product page with an error "An element with a "product.price.final" ID already exists."

<move element="product.info.price" destination="product.info.options.wrapper.bottom" before="-" />

you instead can try moving it like this

    <move element="product.price.final" destination="product.info.addtocart" before="-"/>

and then using css / flex grid you can do a column-reverse and adjust the sort order top to bottom for example.. the other solution is just REPEATING the "product.price.final" in a template causing other layout xml implementation to become a duplicate and error

What worked for me is following:

At location

app/design/frontend/Vendor/mytheme/Magento_Catalog/layout/catalog_product_view.xml

<move element="product.info.price" destination="product.info.options.wrapper.bottom" before="-" />

DO NOT follow the instructions above if your using Magento2 EE

"Copy file with Name addtocart.phtml & paste it to below location in your theme"

this will break your catalog product page with an error "An element with a "product.price.final" ID already exists."

you instead can try moving it like this

    <move element="product.price.final" destination="product.info.addtocart" before="-"/>

and then using css / flex grid you can do a column-reverse and adjust the sort order top to bottom for example.. the other solution is just REPEATING the "product.price.final" in a template causing other layout xml implementation to become a duplicate and error

Source Link
kovinet
  • 234
  • 2
  • 9

What worked for me is following:

At location

app/design/frontend/Vendor/mytheme/Magento_Catalog/layout/catalog_product_view.xml

<move element="product.info.price" destination="product.info.options.wrapper.bottom" before="-" />