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
<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