cancel
Showing results for 
Search instead for 
Did you mean: 

Changing 'In Stock' to 'Available'

SOLVED

Changing 'In Stock' to 'Available'

I have spent hours with a major headache now. I found a couple of files that I modified to reflect what I was trying to do. It worked until you come to configurable options. Once an option is selected it says "In stock" again. Checked all the files listed below.

 

Find the relevant code in the following template files and either display:none or remove the relevant lines of code:

product/compare/list.phtml
product/list.phtml
product/new.phtml
product/view/type/default.phtml
product/view/type/grouped.phtml
product/widget/new/column/new_default_list.phtml
product/widget/new/content/new_grid.phtml
product/widget/new/content/new_list.phtml

 

Source: https://www.linkbrightmedia.com/how-can-i-delete-the-message-availability-in-stock-message-in-magent...

If any one can help that would be awesome.

 

Thank you!

David

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Changing 'In Stock' to 'Available'

Hi @danthony2,



If what you are trying to do is changing that word, then you have to change it in the localization files.

Here is a small guide to do that: 

https://tomrobertshaw.net/2010/03/magento-themes-using-locales-with-translate-csv/

 

 

Happy new year!

Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

View solution in original post

2 REPLIES 2

Re: Changing 'In Stock' to 'Available'

Hi @danthony2,



If what you are trying to do is changing that word, then you have to change it in the localization files.

Here is a small guide to do that: 

https://tomrobertshaw.net/2010/03/magento-themes-using-locales-with-translate-csv/

 

 

Happy new year!

Gabriel

Welcome to the Magento Forums. Remember to introduce yourself and read the Magento Forums Guidelines.

Re: Changing 'In Stock' to 'Available'

Hello Gabriel,

You rock. This solution resolved the issue.

 

Hope you had a great Christmas and new year.