we have a website that is running on Magento 2. This site has been enabled to show out of stock products. Below each out of stock product it displays 'out of stock' how can i change the wording of this to say 'currently out of stock'.



If you want to change this text-only for product details page and for that section which you mentioned then you need to copy the following file to your theme:


Your theme file location will be like below:


And update the text.

php bin/magento setup:static-content:deploy
php bin/magento cache:clean

If my answer helped you, you can accept the answer so it can help others also.

  • vendor/magento/module-catalog/view/frontend/templates/product/view/type/default.phtml i cannot find this anywhere? – alishagwcd Mar 19 '20 at 14:40
  • Please check this link: prnt.sc/rjfh69 – Yo Yo Roshan Mar 20 '20 at 6:25
  • @alishagwcd Have you checked shared link? – Yo Yo Roshan Mar 20 '20 at 7:02
  • @alishagwcd If my answer helped you, you can accept the answer so it can help others also. – Yo Yo Roshan Mar 21 '20 at 8:10

Create the en_US.csv file if not exist in


And add the below content.

"Out of stock","Currently out of stock"

Clear the cache and check. This works for me, Check the below screenshots:

Product Page:

enter image description here

Category Page:

enter image description here

  • this method hasn't worked for me – alishagwcd Mar 19 '20 at 14:37
  • Have you created the same file as in my post? – Kishor Thummar Mar 19 '20 at 14:38
  • You have to create the file in your active theme. – Kishor Thummar Mar 19 '20 at 14:39
  • the file was already there in my theme - i am using porto – alishagwcd Mar 19 '20 at 14:41
  • Please check if there is already added the Out of stock text you just replace the translated word and if not you have to add at end of the file. – Kishor Thummar Mar 19 '20 at 14:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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