Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Insert in database based on another value


Recommended Posts



Im trying to change my create_account.php to do what i want :D


I have managed to make the most changes i want, but now im stuck.


What i have done is that i have made a field sow that the customers can choose between the payment methods credit card and invoice.

This have i put together with the member aproval module sow that when a customer choose credit card the account is aproved right away and with invoice i have to aprove it before they can shop.


What i then want is that when a customers choose credit card as payment, i want this to be the payment method for the customers.

I have made a new field in adress_book, and there i get the value i want but in the customers database i dont manage to make it the value i want.


Does anybody now how i can do this?


I have tried several codes, but everytime the field in customers database keeps blank.


Hopes someone of you can help me with it :D


Best Regards

Thomas Borge

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...