Forum Replies Created
-
AuthorPosts
-
Jan Trier
ParticipantWhat would you suggest for my case? – I send you two examples… I don’t know… I’m very weak-minded…
Greetings
Jan Trier
ParticipantNo problem, you’re welcome!
See uJan Trier
ParticipantThank You a lot Ernest! – This solved my problem! 😀
Could you maybe also respond to this ticket? – I still didn’t recived any answers… :/
And I think, your are one of the best supporters. Thats the reason, why I ask you 🙂https://wp-dreams.com/forums/topic/improve-search-bar-results/
Jan Trier
ParticipantHey Ernest,
Thank you for you greate support! – I understood your code. And it is working! – Thank You!
But there is one little issue. The plugin “Popups” set a cookie so it knows the next time the user comes to the website, if the trigger should be triggered or not. Do you have an idea how I can add that to the if condition?I think the plugin works like this:
The plugin sets a cookie with a expire date. If the cookie is still alive, the popup doesn’t get triggered!
If not, the popup gets triggered.Independent of the user got subscribed or not, I think it is okay to check of there is a cookie with the name spu_open_58189 or not. The value is not necessary – Because I want to show the popup again if the user hasn’t subscribed. That is the reason, why the popup will be shown again after 10 days.
In the attachment you will find two pictures. One of the cookie where the user got subscribed and one where the user doesn’t got subscribed!
Thank You!
Jan Trier
ParticipantI have a plugin which can show/trigger popups. The trigger to show that popup is: class=”spu-open-58189″
For example: <button class=”spu-open-58189″>Submit</button> Would trigger and show the popup.You can just check out my sidebar at the right hand side of a product page and click on a button like this. Then a popup opens.
Now I want to trigger another popup which comes every time a user enters the first char.The cookie should handle that the popup doesn’t get triggered the next time if a user searches the next time. (If not, is it possible to create that by the Ajax search with the cookie and next time don’t popup?)
That is what I want to do! 😀
Jan Trier
ParticipantAnd your CSS Code isn’t working… :/
Jan Trier
ParticipantHey,
Thank You!
And is it possible to call a class by the first char a user has typed?
I want to call: class=”spu-open-58189″Greetings
Jan Trier
ParticipantThank you!
Jan Trier
ParticipantThank You a lot Ernest Marcinko!
You are the best supporter I got to known during my project! 🙂Really, Thank You! 🙂
Greetings
JanJan Trier
ParticipantOkay, thank you! – Is now working! 🙂
But I have one question left! – Is there a way to highlight only the headings of the searches instant of everything?
Because I show the price in the description and the price gets also highlighted if I search e.g. “sniper 3”.So, I only want to highlight the headings/titles – Is that possible? – If yes – How?
Greetings!
Jan Trier
ParticipantI changed it as you said but I still have the same error…
How can I fix that? – Without fixing it the plugin is useless for me!Maybe we should concentrate on the main search bar at first.
What I do not understand is, that everything has worked with the free ajax search bar plugin. But the paid plugin doesn’t work?
Jan Trier
ParticipantOkay, it is working!
Thank You! – It is also the right price! 🙂You can test it here https://gamekeys-shop.de/
But I have one question left!
Is, and if yes, how, it possible to display the price below the title and can I add some words like “Now”?Jan Trier
ParticipantDo I have to return the price or something like this?
[php]"<font color=\"#01de01\">" . min($price_array_min) . "€<font>";[/php]And I have two further question.
1. Where I’m supposed to insert the code?
2. Do I have to take any actions in the Ajax Search Bar Pro Settings? – Or will the result displayed automated?Jan Trier
ParticipantHey,
there is a way to get the lowest price by post ID. I wrote you an example for that:
http://pastebin.com/5kEEQTpHMy question now is, how can I get the post ID from the search and how can I add the filter?
Greetings and Thank You!
Jan Trier
ParticipantHi,
okay, Thank You! – I am going to check it out right now.
Do you know Advanced Custom Fields?The prices are stored in a repeater. So I have a different amount of prices for each product because one product is linked to 3 shops and one is linked to only 1 shop. My problem now is to get the cheapest price. Because the cheapest price could be in the repeater field 0, 1 or 2 for the product with 3 different linked shops…
So, I cannot say select field 0 to get the cheapest price. I must compare all fields of each product. Can I also do that in the plugin?
-
AuthorPosts