Quantcast
Channel: OXID Community Forum
Viewing all articles
Browse latest Browse all 6951

Extending OXUSER with new fields

$
0
0
Hi everyone, and thanks for the opportunity to post here.
I'm working on a project based on OXID eshop version: 4.7.7
Based on slovakian legislation, we need to store some extre fields in user table which are the Company registration ID and the Tax ID (not the same as VAT ID).
So I created a module, which extends "oxuser" model, created extra fields in "oxuser" database table and also added the extra fields in the registration form (user_billing.tpl) like this:

Code:

<input type="text" name='invadr[oxuser__companyid]' id="input-field-ico" class="company-input-field"/>
My trouble is, that I can't find the code where the submitted form values get saved to the database on the back end.
I would be much obliged if someone could point me to the parts in the code which handles registration form's submission and persistence of the submitted values in the database.
Thank you!

Viewing all articles
Browse latest Browse all 6951

Trending Articles