- Posts: 46
- Thank you received: 1
Change wording from "No stock" to "Out of Stock"
14 years 8 months ago #34705
by AZTacGear
Change wording from "No stock" to "Out of Stock" was created by AZTacGear
I want to change the inventory wording under each item to read "Out of Stock" instead of "No Stock". I'd also like to change the font color of that phrase to red.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34754
by nicolas
Replied by nicolas on topic Re: Change wording from "No stock" to "Out of Stock"
Any text in HikaShop can be overridden as explained there:
www.hikashop.com/en/download/languages.html#modify
For the font color, you can add some CSS in the front end CSS file of HikaShop via the Display tab of the configuration, like that:
.hikashop_product_no_stock{ color: red; }
www.hikashop.com/en/download/languages.html#modify
For the font color, you can add some CSS in the front end CSS file of HikaShop via the Display tab of the configuration, like that:
.hikashop_product_no_stock{ color: red; }
The following user(s) said Thank You: jeremy1128
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34759
by AZTacGear
Replied by AZTacGear on topic Re: Change wording from "No stock" to "Out of Stock"
Which file in the display tab to I need to add it in?
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34760
by nicolas
Replied by nicolas on topic Re: Change wording from "No stock" to "Out of Stock"
The front end CSS file. Be careful, I said the Display TAB of the configuration, not the Display menu which is displayed on all HikaShop back end pages.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34763
by AZTacGear
Replied by AZTacGear on topic Re: Change wording from "No stock" to "Out of Stock"
I added the text to the front end CSS file. Is there a specific place in there I need to put it?
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34765
by nicolas
Replied by nicolas on topic Re: Change wording from "No stock" to "Out of Stock"
No but make sure that you save the configuration and refresh your browser cache.
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34772
by AZTacGear
Replied by AZTacGear on topic Re: Change wording from "No stock" to "Out of Stock"
I've added the text, saved the configuration and cleared my browser cache.
It hasn't change on my browser.
What do you see?
arizonatacgear.com/webstore/index.php/pr...polydura-4-58-in-x-7
It hasn't change on my browser.
What do you see?
arizonatacgear.com/webstore/index.php/pr...polydura-4-58-in-x-7
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34773
by nicolas
Replied by nicolas on topic Re: Change wording from "No stock" to "Out of Stock"
I see that you're still using the front end default CSS. Make sure that the custom one you created is selected and save again your configuration.
The following user(s) said Thank You: jeremy1128
Please Log in or Create an account to join the conversation.
14 years 8 months ago #34776
by AZTacGear
Replied by AZTacGear on topic Re: Change wording from "No stock" to "Out of Stock"
That worked!
Thanks!
Thanks!
The following user(s) said Thank You: jeremy1128
Please Log in or Create an account to join the conversation.
Time to create page: 0.222 seconds