I know this questions has been posted other times, but in my case didn't solve the issue.

I need to move the Stock info before the add to cart button (in the product page of course). I put this code in catalog_product_view.xml at this path Magento_Catalog\layout\catalog_product_view.xml

<move element="product.info.stock.sku" destination="product.info.main" before="product.info.addtocart"/>

But it moved it AFTER the add to cart.

What am I doing wrong?

I'm using magento 2.3.3


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.