Home › Forums › Basel support forum › search bar / sold out label
search bar / sold out label
- This topic has 8 replies, 2 voices, and was last updated 7 years, 8 months ago by Artem Temos.
-
AuthorPosts
-
April 26, 2017 at 10:51 pm #12849
pabloandre92ParticipantHi, I wrote you a few times but the topic disappeared.
I have got 2 problems to solve;
– Search bar:
The search bar of http://www.mitania.com only works searching for products, if you search any cathegory it doesn’t work.
Point 1: I created many cathegorys, but not all are being used. The cathegorys that aren’t being used don’t work in the search bar.
Point 2: is it possible to add words manually so they can search Synonyms or something else?– Sold-Out-Label : I would like to translate “Sold Out” into “Agotado”.From english to spanish.
I tried a lot of ways to translate this f…ing label, loco translate, ftp,woocommerce settings, etc.
A teammate of yours asked me to provide him/her the wordpress admin panel details so he/she could fix the problem but the topic disappeared a bit later.Finally, I attach the wp admin panel details so it can be fixed
Please help me :'(
Thank you in advance 🙂
April 27, 2017 at 6:13 am #12855
Artem TemosKeymasterHello,
Actually, the topic is not disappeared. We asked you to create a new one and you didn’t. Then we moved it to a new topic ourselves. Here it is https://xtemos.com/forums/topic/translate-sold-out-words/
And now our question is could you please send us a link with “Sold out” words so we can check it?
As for search bar, unfortunately, WooCommerce search doesn’t work with categories and synonyms words.
Kind Regards
XtemosApril 27, 2017 at 6:45 pm #12894
pabloandre92ParticipantHi again.
Do you mean a link of a product that shows the sold out button?
Thank you in advance
April 27, 2017 at 7:33 pm #12898
Artem TemosKeymasterYes, the product with this label so we could check how it works.
Thank you
April 27, 2017 at 11:04 pm #12901
pabloandre92Participantthere is a product that is sold out:
https://mitania.com/producto/edredon-de-cuna-beis/
To see the sold out label you have to go to:
https://mitania.com/categoria/canastilla/page/3/
and EDREDĂ“N DE CUNA BEIS is the product I’ve shown to you before.If there is any option to translate it with css or something else please say it to me 🙂
I attach a photo where you can see that I did translate the word with Loco Translate plugin.
Attachments:
You must be logged in to view attached files.April 28, 2017 at 6:17 am #12907
Artem TemosKeymasterHi,
OK, you can change with this CSS snippet. Add it to the Custom CSS in Theme Settings
.out-of-stock-label { font-size:0; } .out-of-stock-label:before { font-size:8px; content:"Agotado"; line-height:30px; text-align:center; display:block; }
Regards
April 28, 2017 at 2:10 pm #12916
pabloandre92Participantwow, it works perfectly, thank you very much :).
Last question, is there any option to add a line in that .css that makes the sold-out shape #00cfff
I did add “color:#00cfff” and it works but it puts the text on that color, not the shape.
I tryied on theme sentings-styles and colors, but not working
Thank you very much for your patience 🙂
April 28, 2017 at 2:16 pm #12917
pabloandre92ParticipantI got it by myself without being a .css programmer hahah
.out-of-stock-label:before {
font-size:8px;
content:”Agotado”;
line-height:30px;
text-align:center;
color:#ffffff;
display:block;
}.out-of-stock-label {
background-color:#00cfff;
}Thank you 🙂
April 28, 2017 at 2:31 pm #12919
Artem TemosKeymasterGreat, you are welcome! 🙂
-
AuthorPosts
- You must be logged in to create new topics. Login / Register