cancel
Showing results for 
Search instead for 
Did you mean: 

Change "Out of Stock" to something else

Change "Out of Stock" to something else

I have went in and changed en_US.csv on the line containing 

"Out of Stock","Out of Stock"

to

"Out of Stock","Please Call to Order"

 

I cleared the cache and looked at products that are out of stock and I still see "Out of Stock"

 

Where else do I need to change this?

2 REPLIES 2

Re: Change "Out of Stock" to something else

Hello @swyckoffco9e76 

 

Create a directory app/i18n/Vendorname/en_US

Issue command:

bin/magento i18n:collect-phrases --output

"app/i18n/Vendorname/en_US/en_US.csv" --magento 

This will collect all the translatable phrases in csv file and place it in the specified path.

Make changes to the csv file as per your requirement and when ready issue command:

bin/magento i18n:pack app/i18n/Vendorname/en_US/en_US.csv -d en_US

This will deploy the translations from your file.

clear the cache etc and you should see your changes.

Problem solved? Click Accept as Solution!

Re: Change "Out of Stock" to something else

I receive a message that states, "In phrase.php line 90" followed by a red box that says "missed phrase"