Dropdown switcher title inside dropdown
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from pawsfabrik on September 14, 2020, 16:21Hi, sorry to bother you again.
For some time ago you helped me adding a title on top of the dropdown switcher and it works super fine. But instead of that, is it possible to place the title inside the dropdown as a placeholder the same way as you have 'Choose an option' in size variations?
Link to product: https://rebeccaelbek.com/product/big-owl-ring/
I've also made an example that shows what I'm trying to do: https://imgur.com/a/ejNDqa2Best regards,
Paw
Hi, sorry to bother you again.
For some time ago you helped me adding a title on top of the dropdown switcher and it works super fine. But instead of that, is it possible to place the title inside the dropdown as a placeholder the same way as you have 'Choose an option' in size variations?
Link to product: https://rebeccaelbek.com/product/big-owl-ring/
I've also made an example that shows what I'm trying to do: https://imgur.com/a/ejNDqa2
Best regards,
Paw
Quote from Pablo Borysenco on September 15, 2020, 11:55Hello Paw
You need code customization. The problem is that a third-party library is used for dropdown
Unfortunately we do not have a ready-made solution
Hello Paw
You need code customization. The problem is that a third-party library is used for dropdown
Unfortunately we do not have a ready-made solution
Quote from pawsfabrik on September 15, 2020, 12:24Hi Pablo,
Thank you for replying.
Okay no problem. Is it possible to place the dropdown to the right of the title or does it also requires customization? Please take a look at my example here: https://imgur.com/a/knANvGN
Hi Pablo,
Thank you for replying.
Okay no problem. Is it possible to place the dropdown to the right of the title or does it also requires customization? Please take a look at my example here: https://imgur.com/a/knANvGN
Quote from Pablo Borysenco on September 16, 2020, 11:03Hello
it is possible to do this, but it will be for all dropdown options
You can try this code:
add_filter('woocs_currname_in_option', function($name){
global $WOOCS;
if($name==$WOOCS->current_currency){
$name="Choose currency ".$name
}
return $name;
});
and do a test
Hello
it is possible to do this, but it will be for all dropdown options
You can try this code:
add_filter('woocs_currname_in_option', function($name){
global $WOOCS;
if($name==$WOOCS->current_currency){
$name="Choose currency".$name
}
return $name;
});
and do a test
Quote from pawsfabrik on September 16, 2020, 12:43Thanks. I think theres an error in line 7. Please take a look at my screendump: https://imgur.com/a/5no3jwI
Thanks. I think theres an error in line 7. Please take a look at my screendump: https://imgur.com/a/5no3jwI
Quote from Pablo Borysenco on September 17, 2020, 09:39Hello
Please add ";" here - https://c2n.me/496XmJr.png
Hello
Please add ";" here - https://c2n.me/496XmJr.png
Quote from pawsfabrik on September 17, 2020, 10:58Super, it works. But it looks a little odd, please take a look at my screendump https://imgur.com/a/gwnB2dQ or visit the page https://rebeccaelbek.com/product/big-owl-ring/. Isn't it possible to separate 'Choose currency' and the active currency from each other?
Super, it works. But it looks a little odd, please take a look at my screendump https://imgur.com/a/gwnB2dQ or visit the page https://rebeccaelbek.com/product/big-owl-ring/. Isn't it possible to separate 'Choose currency' and the active currency from each other?
Quote from Pablo Borysenco on September 18, 2020, 11:16Hello
You can add more spaces - https://c2n.me/497WYwm.png
Hello
You can add more spaces - https://c2n.me/497WYwm.png
Quote from pawsfabrik on September 18, 2020, 15:55Ahh okay thank you. But it isn't possible to place the active currency on it's own line instead of the same line as 'Choose currency'?
Ahh okay thank you. But it isn't possible to place the active currency on it's own line instead of the same line as 'Choose currency'?
Quote from Pablo Borysenco on September 21, 2020, 10:10Hello
please drop me a screenshot
Hello
please drop me a screenshot
Quote from pawsfabrik on September 21, 2020, 10:24Hi, sorry. Here's a screenshop of what I explained. I want the 'Choose currency' to be on the top, and then the different currencies to be on top of each other below 'Choose currency'. Is that possible?
Hi, sorry. Here's a screenshop of what I explained. I want the 'Choose currency' to be on the top, and then the different currencies to be on top of each other below 'Choose currency'. Is that possible?
Quote from pawsfabrik on September 21, 2020, 10:27Sorry, wrong screenshot, here's the right one: https://imgur.com/a/wwVnHXr
Sorry, wrong screenshot, here's the right one: https://imgur.com/a/wwVnHXr
Quote from Pablo Borysenco on September 21, 2020, 11:00Unfortunately, in this case, you have to completely make a custom switcher.
Unfortunately, in this case, you have to completely make a custom switcher.
Quote from pawsfabrik on September 21, 2020, 11:04Thank you for quick reply.
Okay, I don't know how to make a completely custom switcher so I think I'll go with what I have now.
Thank you so much for helping me, hope you have a nice day.
Best regards,
Paw
Thank you for quick reply.
Okay, I don't know how to make a completely custom switcher so I think I'll go with what I have now.
Thank you so much for helping me, hope you have a nice day.
Best regards,
Paw
Quote from Pablo Borysenco on September 22, 2020, 09:45Hello Paw
welcome;)
Hello Paw
welcome;)