Post by AM_SA » Fri Jan 25, 2019 2:42 pm

Hello,

I am looking for an extension that adds the Governorate and the State to the address as follows:
- Governorate: (dropdown menu)
- State: (drop-down list of states that follow Governorate previously selected)

For example, in this link:
https://sooqaman.com/index.php?route=account/register

change the language to English and see Governorate and State and check When you change Governorate, states automatically change.

Best Regards

Newbie

Posts

Joined
Mon Jul 10, 2017 12:24 am

Post by straightlight » Sat Jan 26, 2019 6:39 am

Simply use the same idea as the already built-in solution of the catalog/controller/localisation/country.php as a new controller file and your catalog/view/theme/<your_theme>/template/account/register.tpl file as well as a new template file in order to link each Governorate with the States. However, these relation entities will also have to be done from the database or via an API / Webservices.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by AM_SA » Sat Jan 26, 2019 7:44 pm

Thank you for reply I have found extension in this link:

https://www.opencart.com/index.php?rout ... n_id=32174

Best Regards

Newbie

Posts

Joined
Mon Jul 10, 2017 12:24 am
Who is online

Users browsing this forum: No registered users and 124 guests