blackyfreud Developer Od Germany Členem od dub 2023 blackyfreud 15 kvě 2023 17:38 I know you can define a number and text settings in vmod, but is it also possible to have a select field for a setting?
tim Founder Od Sweden Členem od kvě 2013 tim 15 kvě 2023 21:02 Yes, it's: select("Oranges", "Apples", "Pears") Use case example here: https://github.com/litecart/litecart/blob/2.5.3/public_html/includes/modules/shipping/sm_zone_weight.inc.php#L210
blackyfreud Developer Od Germany Členem od dub 2023 blackyfreud 15 kvě 2023 21:03 Excellent, thanks a mil Tim :)
tim Founder Od Sweden Členem od kvě 2013 tim 15 kvě 2023 21:07 Thank you, I find your questions very beneficial for the community.
blackyfreud Developer Od Germany Členem od dub 2023 blackyfreud 15 kvě 2023 21:08 Aww thanks Tim, I am really enjoying getting to know and work with litecart. It's a joy. Also, I really like your style and approach in programming.
tim Founder Od Sweden Členem od kvě 2013 tim 15 kvě 2023 21:16 That is awesome to hear. I try to keep everything minimalistic or it will quickly get out of hand. It saves me time producing it. And it saves you time analyzing it. "Less is more" :)