Hi all,
I am working on eCommerce platform where user registers and defines their country (Country Field) once this is done what I need to do that the only country available for their Shipping & Billing address are that country from $user. And if there is no defined country (like Anonymous user) the only country available is for instance US.
I have managed to achieve this but the code is buggy and sometimes does odd things (especially as different countries needs different fields). I really would like to do this properly in Drupal manner.
Can somebody suggest a correct Drupal way to achieve this? Or whether something similar has been already achieved. Any advise would be great
I will be much appreciated
Povilas
Comments
Comment #2
invincible1388 CreditAttribution: invincible1388 commentedUse :
Comment #3
Povilas Uogintas CreditAttribution: Povilas Uogintas commentedThank you,
Sorry for late reply. this seems to work well.
Thanks,
Pov
Comment #4
igorski CreditAttribution: igorski as a volunteer commented