osse LiteCart Fan From Sweden Member since Dec 2013 osse Jan 26 2016 07:32 PM Is it possible to change the needed customer info depending on payment metod? If a customer choose bankgirot then he should need to fill in Name Address Postnr City But if he choose Svea Ekonomi Faktura he should only need to fill in Social security number
tim Founder From Sweden Member since May 2013 tim Jan 26 2016 10:17 PM On a short basis no. Because the chain process is that the payment component is loaded after the customer. LiteCart needs to collect info before running the modules as the information depends on if the modules should display or not.
osse LiteCart Fan From Sweden Member since Dec 2013 osse Jan 26 2016 11:07 PM OK. But if you change the order so the customer info is last?
tim Founder From Sweden Member since May 2013 tim Jan 27 2016 12:17 AM Then you can't limit the modules to countries or zones and will not be able to calculate shipping costs to a destination. I suppose there is mostly a good reason for everything ;)
tim Founder From Sweden Member since May 2013 tim Jan 27 2016 12:21 AM What you can do is remove the field for taxid / civic registration number and have the module injecting it into the order object. I'm not gonna recommend it or guide you there. Or you can have the payment option output some jquery code that toggles visibility for the field.
osse LiteCart Fan From Sweden Member since Dec 2013 osse Jan 28 2016 01:44 AM Ok, there is never an easy way ;) I let this go for now :D