I'm using opencart 2.3.0.2
So, I made my registration fields to only ask for first/last name and password.
The aesthetic problem I am encountering is that once registered, the client will have an entry into their addressbook of their account with their first and last name (no address though). Is there any way I can prevent for an addressbook entry to be created? I've looked throughout the entire register.php file but I cannot conclude which line of code writes and saves to the addressbook. Or, should I be looking at my register.tpl line of code in my custom theme folder?
You can find it in catalog/model/account/customer.php and function name is addCustomer
After doing this, it might be raised other issues. For example, Delivery/Shipping address dropdown will be empty during their first checkout. So do it in own risk!
After doing this, it might be raised other issues. For example, Delivery/Shipping address dropdown will be empty during their first checkout. So do it in own risk!
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
Thanks! It's the customer.php I should've been looking at it seems.
That is true that the delivery/shipping address dropdown will be empty during their first checkout. It would've been mostly empty regardless though since only the first and last name was appearing anyhow - so I need to remake my vqmod further to avoid any empty dropdown addresses now. I just didn't know where to look for the coding and the suggestions here were very helpful. Thanks again!
That is true that the delivery/shipping address dropdown will be empty during their first checkout. It would've been mostly empty regardless though since only the first and last name was appearing anyhow - so I need to remake my vqmod further to avoid any empty dropdown addresses now. I just didn't know where to look for the coding and the suggestions here were very helpful. Thanks again!
Who is online
Users browsing this forum: No registered users and 12 guests