Hi!
I have these radio buttons on my product via custom fields:
(http://i.imgur.com/EGtlnc3.png)
I have these wonderfull buttons to manipulate them in backend:
(http://i.imgur.com/NTPXUl2.png)
How do I make make one of my options default ? Pressing the default star icons, don't do anything.
cheers,
Hello!
Is it a silly question with an obvious answer or is this function broke in VM3.0.12?
Hi! This issue is still present in VM 3.0.14 as far as I can see. Can anyone confirm ?
cheers,
Hi prokops,
I'm having the same issue that you are, i would also like one of the radio buttons to be selected by default. Dose anyone have a solution to this?
I think the star that you are referring to in your screenshots actually means that it is a cart attribute, not a default select option. But i could be wrong?
Any ideas would be appreciated!
Cheers
The css is claiming that it is the "default" option attribute.
(http://i.imgur.com/LocecrD.png)
It does appear that it should be working as the default button. It seems like a pretty standard feature that would work.
I am surprised that this has not been an issue for more user's. I will keep trying to find a solution.
If you use a dropdown list the first option used will be the default however in radio buttons we had the same issue as you guys.
I don't understand it either.
It is an issue for other users Bigi, thats why we use dropdown lists instead of radio buttons.
Regards
Confirm. Radio is not set by default.
Do your own plugin, or find one(free or not), it's not very complex to do.
In all case currently VM do not control standard fields, so to have correct chekc in cart/order. You need a plugin
how ?? ;D
Quote from: mahootshop on August 08, 2016, 13:24:09 PM
how ?? ;D
Check existing customfield "text input" and replace the input by a ratio input and add function to check the value exist or not on add to cart.
Hi!
Maybe some Jquery to incorporate? To play with this radio elements?
I have the same problem >:(, need to have one of the radio buttons selected. Its created somehow in customfield/customfields.php maybe.
But Im not allowed to hack VM code.
jQuery(function ($) {
$(document).ready(function() {
$(".product-fields.addtocart dd").each(function(){
$(this).find("input[type=radio]:first").attr('checked', true);
});
});
});
Quote from: d0ublezer0 on October 07, 2016, 07:27:15 AM
jQuery(function ($) {
$(document).ready(function() {
$(".product-fields.addtocart dd").each(function(){
$(this).find("input[type=radio]:first").attr('checked', true);
});
});
});
Does this stil work in 3.8 and where to insert this?
Kind regards
Jurgen