Post by ruwaad » 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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

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

Post by ruwaad » 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 2 guests