Author Topic: 'Out of stock' text replacement.  (Read 1070 times)

Offline paulbg

  • Newbie
  • *
  • Posts: 15
  • Karma: +4/-0
    • View Profile
'Out of stock' text replacement.
« on: July 22, 2017, 11:40:46 AM »
I need to change the 'Out of Stock' label on product blocks to read 'Adopted' I know,
innerHTML:"Out Of Stock"
innerText:"OUT OF STOCK"
are called by .thumbnail.nostock  but I can't find which template file adds this text. 
Any help I would be grateful.

Offline Geoffrey

  • Full Member
  • ***
  • Posts: 153
  • Karma: +27/-3
    • View Profile
Re: 'Out of stock' text replacement.
« Reply #1 on: July 22, 2017, 01:02:45 PM »
Use the same search box: search for "out of stock".  Yields 9 results, only a few of which have the key "Out of Stock", so edit those, clear cache, refresh site page, repeat until you find the proper key.

Offline paulbg

  • Newbie
  • *
  • Posts: 15
  • Karma: +4/-0
    • View Profile
Re: 'Out of stock' text replacement.
« Reply #2 on: July 23, 2017, 05:25:59 AM »
I tried that Geoffrey, it changes some instances but not the one on the 'add to cart' area; which is the main one I need to change. Could it be in the database?
When I change the Language to Spanish it becomes Agotado, so it is somewhere?
« Last Edit: July 24, 2017, 05:06:12 AM by paulbg »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4396
  • Karma: +205/-0
    • View Profile
Re: 'Out of stock' text replacement.
« Reply #3 on: July 24, 2017, 04:59:11 AM »
Hello.

First check Admin > System > Localization > Stock Statuses
and you can also search in Language Definitions section
“Chuck Norris is so amazing.”
― Mother Teresa

Offline paulbg

  • Newbie
  • *
  • Posts: 15
  • Karma: +4/-0
    • View Profile
Re: 'Out of stock' text replacement.
« Reply #4 on: July 24, 2017, 05:17:05 AM »
Thanks...I just found it as you posted. What about that.

 

Powered by SMFPacks Social Login Mod