Post by kalsia » Wed Dec 02, 2015 4:36 am

Good evening,

I developed a little module to permit the administrator to keep a rating value of every single user of the site...
I wanted to have custom database tables to save that value together with the customer/seller id

Let's say for example i have a table called RATING with columns "customer_id" & "rating_value" and i want customer_id column of my table to be filled upon new user registration (which is done through the stock opencart register form)

i tried to check out "custom fields" for the registration form but they are not what i need

Is it possible to do that somehow? May also be through a notify system or something

Newbie

Posts

Joined
Wed Dec 02, 2015 4:23 am

Post by villagedefrance » Thu Dec 03, 2015 12:31 am

Hi,

I'm not too sure I follow you ...

What is that "rating" data ? Is the store owner attributing it or the user itself at registration ?
What do you mean by "customer/seller_id" ?

Also be aware that custom fields have their own database table. If you are setting up your own table (oc_rating) then you better Not use the custom fields. Your best bet then is to make a vQmod or an OCMod, to add the field in your customer registration form.

OpenCart custom solutions @ https://villagedefrance.net


User avatar
Active Member

Posts

Joined
Wed Oct 13, 2010 10:35 pm
Location - UK

Post by kalsia » Fri Dec 04, 2015 8:30 am

First of all, thanks for the reply

I probably explained myself in a too complex way
I just have a simple custom table... and i want the IDs of newly registered users to ALSO go in a column of that table instead of "oc_customers" table only ... is that possible somehow? No need of custom fields in the registration form at all

Thanks again for help

Newbie

Posts

Joined
Wed Dec 02, 2015 4:23 am
Who is online

Users browsing this forum: No registered users and 2 guests