Here I go, two years later starting to implement this on another site (1.5.5.1). I totally forgot how I did this back in 2011, but hopefully this won't take too long. Is this the correct file to work with?
customer_expert_id.xml
(16.72 KiB) Downloaded 265 times
customer_expert_id.xml
(16.72 KiB) Downloaded 265 times
I saw these instructions referenced in another discussion. My guess is that it can't be applied to 1.5.5.1, but I thought I'd check.
http://forum.opencart.com/viewtopic.php?f=29&t=2648
http://forum.opencart.com/viewtopic.php?f=29&t=2648
If you have some built in fields that you don't use, then all you have to do is change the language files to make them say what you want them to. No database work or anything else. Just that the DB field won't match what it really is, but no one will ever see that anyway.
That's an interesting idea. The thing is though, we'd like to assign a customer to the wholesale customer group, based on how that one question is answered. The absolute perfect scenario would be to have a new checkbox field. If any of the checkboxes are checked, they get assigned to the wholesale customer group.kelemvor wrote:If you have some built in fields that you don't use, then all you have to do is change the language files to make them say what you want them to. No database work or anything else. Just that the DB field won't match what it really is, but no one will ever see that anyway.
Pool or Pool Company Owner (check all that apply):
a. Pool Owner (homeowner)
b. Recreational/Neighborhood Pool Owner
c. Pool Builder
d. Pool Supply Store
That's exactly what I did. I took the "Company Name" field ad changed the language files to say "School Name". I then changed the create account page and turned it into a dropdown box. I didn't do anything with assigning to groups since I don't use that feature but you can turn any field into a dropdown by editing the html.
I'm not on my computer right now but I can upload my vqmod file as an example if you'd like.
I'm not on my computer right now but I can upload my vqmod file as an example if you'd like.
That would be great. I really appreciate that.kelemvor wrote:That's exactly what I did. I took the "Company Name" field ad changed the language files to say "School Name". I then changed the create account page and turned it into a dropdown box. I didn't do anything with assigning to groups since I don't use that feature but you can turn any field into a dropdown by editing the html.
I'm not on my computer right now but I can upload my vqmod file as an example if you'd like.
Here's the file I put together. There are 3 places you can register so 3 places you need the dropdown items.
Then the file to contain the text to display.
Hopefully this helps you get started. Can just sub the various field names for any other field names you want to change around.
Then the file to contain the text to display.
Hopefully this helps you get started. Can just sub the various field names for any other field names you want to change around.
This is great. I uploaded your file as-is and see the new fields. The fields are currently text fields. Do you know how I'd convert them to checkboxes? Here's the registration page:
http://198.154.218.69/~dtb3/index.php?r ... t/register
http://198.154.218.69/~dtb3/index.php?r ... t/register
Whoa! I just realized something. By checking both customer groups (default and wholesale) under Settings > Options > Account, you get a field called "Business Type" with radio buttons for both customer groups. This appears to be just what I was looking for. I just need to figure out how I can edit the text for those two selections.
Who is online
Users browsing this forum: No registered users and 3 guests