Answer the question
In order to leave comments, you need to log in
How to fix missing list of regions when registering in opencart?
Hello!
I'm starting to learn opencart using ocstore 2.1.0.2 as an example. (on opencart 2.2) I installed it, I make a test order in a demo store, but I shut up when entering payment information (both when registering and when registering without registration), "Region / Region" - the selection list is empty for some reason, although all regions are in localization yes, all required fields are filled. Tell me what could be the problem?
Does not load in Firefox, Chrome and Edge. Cleared browser cache.
nginx 1.9.3 php 5.6, mysql 5.6
Permissions are
find . -type f -exec chmod 644 {} \;
chmod 0755 system/storage/cache/
chmod 0755 system/storage/logs/
chmod 0755 system/storage/download/
chmod 0755 system/storage/upload/
chmod 0755 system/storage/modification/
chmod 0755 image/
chmod 0755 image/cache/
chmod 0755 image/catalog/
chmod 0755 config.php
chmod 0755 admin/config.php
chown www-data config.php
chown www-data admin/config.php
chown www-data image/
chown www-data image/cache/
chown www-data image/catalog/
chown www-data system/storage/cache/
chown www-data system/storage/logs/
chown www-data system/storage/download/
chown www-data system/storage/upload/
chown www-data system/storage/modification/
Please tell me what it could be?
recipe.ru/store
When you enter through www.recipe.ru/store
when trying to add any product to the cart and on the checkout page,
an error undefined pop-up appears.
Answer the question
In order to leave comments, you need to log in
Regions are loaded using JS based on the country selected at checkout. Open the console and see if there are any errors.
Taki found. There is an error
recipe.ru/store/index.php?route=checkout/guest_shipping
Similar error. Appears only on hosting. On the local server everything is fine. Tried different versions of OC - no change.
The error is
I myself understand that there is no index in the drop-down list - but why?
On line 67 the following code
$custom_fields = $this->model_account_custom_field->getCustomFields($this->session->data['guest']['customer_group_id']);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question