Hello,
Is it possible to have the generic child variant dropdown to display as a radio?
Else if that is not possible, is it possible to make another custom field which can display as a radio trigger the changes in the generic child variant dropdown (and maybe hide that dropdown from the user so it looks like that radio is the switch?)
like this?
https://www.calligraphystore.it/test/it/pennini-a-punta-tronca-per-calligrafia/pennini-mitchell-per-calligrafia-dettagli.html
as far as I can remember it is just some minor restyling and choosing as radiolist in the custom field
Quote from: GJC Web Design on November 21, 2018, 16:06:29 PM
like this?
https://www.calligraphystore.it/test/it/pennini-a-punta-tronca-per-calligrafia/pennini-mitchell-per-calligrafia-dettagli.html
as far as I can remember it is just some minor restyling and choosing as radiolist in the custom field
Yeah exactly like that. I don't have the option to display it as a radio like I have with the String option in the custom field? Is that a bug or?
If you need a more advanced render and dont know PHP. See https://shop.st42.fr/en/products/product-child-variants.htm
ah I see .. I used Multivariants (Type C) that do have a radio option
I see generic (Type A) don't
you could try in templates\xxx\html\com_virtuemart\sublayouts\customfield.php to use the same JHtml in A as in C to test if radios there are possible
Quote from: GJC Web Design on November 21, 2018, 19:37:09 PM
ah I see .. I used Multivariants (Type C) that do have a radio option
I see generic (Type A) don't
you could try in templates\xxx\html\com_virtuemart\sublayouts\customfield.php to use the same JHtml in A as in C to test if radios there are possible
Awesome. Ok, is there a big difference in A and C because the eventual logic seems to be the same... Maybe i just switch to C.. Thanks for following up!
Quote from: Studio 42 on November 21, 2018, 18:34:09 PM
If you need a more advanced render and dont know PHP. See https://shop.st42.fr/en/products/product-child-variants.htm
Thanks if I cannot figure it out I go this route. Thanks for replying!
EDIT: yeah changing that customfield.php is way harder than I thought. I see if I can fix this with javascript and another radio list with the strings. I'll let everyone know if that works.
Honestly I really don't understand why the generic child variant doesn't have the radio list option but w/e
he he ..
QuoteA and C because the eventual logic seems to be the same
you can add me to the list of people that also don't understand what the difference between them is .. though I rarely get involved in this config stuff..
perhaps someone can educate us..?
i.e. case examples of why use one versa the other?