2

This is quite a weird one...
At some point previously, we had changed the default 'In Stock' text to 'Available to order' on products in Magento.

Default:- Availability: In Stock

New:- Availability: Available to order

The thing is, we can't find where or how this is being overridden...

In the below file, the default stock messages In Stock and Out of Stock still remain. If I display template hints with block names on the front end, the block points to this file. If I change the text 'In Stock' in this file, it does change the text 'Available to order' on the front end.

/app/design/frontend/*/default/template/catalog/product/view/type/default.phtml

There are no CSS / JS text replaces for this and there are no language files edited to change the text 'In Stock' to 'Available to order'.

In fact, I have done a site search on the entire contents of the /app directory on the server and there is no results found for 'Available to order' in any file.

All cache has been cleared (including cache storage), and full reindex has been performed.

All I'm trying to achieve, is to change it back to 'In Stock' from 'Available to order' but as per the template file, it is already set to 'In Stock'.

Fast running out of ideas on this one...

  • Have you ever change stock message with translate inline function? – Mufaddal May 1 '13 at 10:48
1

Have you ever change stock message with translate inline function? I think message was changed with translate inline function, check in your db entry to find this message.

Check your core_translate table or either change it with translate inline function.

  • Wow, the only thing I have in this table is exactly where the problem lies... (string) Mage_Catalog::In stock (translate) Available to order. Thank you so much. The fact that this is within the core_translate table, does this mean that it was definitely translated inline? Thanks. – zigojacko May 1 '13 at 11:47
  • Yes if this string is in core_translate table then it was definitely translated inline or other possibility is that translate csv was change – Mufaddal May 1 '13 at 11:56
  • That table in the database must have been the only place I didn't look. Thanks again, great help! :) – zigojacko May 1 '13 at 12:01

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.