Questions tagged [countries]

The tag has no usage guidance.

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
476 views

Allow countries for websites is not working

I'm trying to configure 2 websites allowing only some countries for each website. For test I'll only allow "spain" for one website and "USA" for the other. I'm using the VM of bitnami with Magento 2....
2
votes
0answers
243 views

Load SHORT country names

I need to change the name value from lib/Zend/Locale/Data/de.xml I have there two lines: <territory type="HK">Sonderverwaltungszone Hongkong</territory> <territory type="HK" ...
1
vote
0answers
16 views

Magento 1.9 multi countries multi langues

I want to configure magento to support multiple countries and languages without creating stores for countries only stores by language knowing that a language can belong to several countries: Example: ...
1
vote
0answers
83 views

How to call my custom countries dropdown list in magento2

I need to call my custom countries dropdown list in magento2 checkout page. how to replace the default to my custom dropdown. thanks in advance..
1
vote
0answers
176 views

Magento 1.9 auto select country

We only allow 1 country in our Magento store. Now we load on a custom module the country selector, but this does not select the only country as default selection. It currently show a select box with ...
1
vote
1answer
300 views

Magento 1.9 . 3 .8 : merchant countries drop-down list dosent have jordan

Merchant Country (jordan) Not Present in the drop down list. How I can add this in dropdown ? Any solution for this ?
1
vote
0answers
1k views

Limit Shipping to specific countries

I have two Sites one for GBP and one for Euro. For the Euro version I have set: Stores > Configuration > General > General > 'Default Country' = 'Ireland' Stores > Configuration > ...
1
vote
1answer
963 views

How to set a certain country as default in guest from and not select another one

i would like to set the country in guest checkout form for invoice und delivery adress hardcoded to default country x. And no other country should be able to getting selected. How do i managed this? ...
1
vote
0answers
50 views

Module productive minds SiteSwitcher and changing countries

I have this module currently installed and when i use the top drop down Change Language it switches to the correct store utilizing the correct language and currency. No problem here, see picture below....
1
vote
0answers
96 views

After shipping address is saved in checkout redirect customer to another url if shipping country is

After shipping adress is saved in checkout, redirect customer to another url if shipping country is for example US where could I do it? I would use if($this->getQuote()->getShippingAddress()-&...
0
votes
0answers
17 views

Magento 2.4.1 Get allowed countries country code and name programmatically

We need to create a frontend option list of allowed countries within Magento 2.4.1. I tried this solution: https://magento.stackexchange.com/a/200368/80960 but this only return the country code. We ...
0
votes
0answers
8 views

Multistore setup how to use all allowed languages

I have a module which uses the customerformfactory to create a customer_address entity. $addressForm = $this->_customerFormFactory->create('customer_address', 'adminhtml_customer_address'); ...
0
votes
0answers
37 views

Region is not Updating while Setting Country Name Programmatically. Magento 2

I've created Simple Form where I've set default country Name n Region like <td> <label>Country</label> <div class="field ...
0
votes
0answers
55 views

How to get country name using currency code in Magento 2

I want to get country name using currency code. For ex. if currency code is INR then, It should be return country name : India. How to do that? Any help would be appreciated. Thanks.
0
votes
0answers
31 views

Magento 2 Customer Scope Global VS Magento\Directory\Model\AllowedCountries

I have created many different Stores and set Allow Countries to each store. when using Magento\Directory\Model\AllowedCountries, $getAllowedCountries = $this->allowedCountries->...
0
votes
1answer
173 views

How to add country field in contact form in magento 1.9

We want to add a country field in the contact form in Magento 1.9 We need country option as drop down. Also, we want to send the selected country in contact mail. My code <?php $_countries = ...
0
votes
1answer
35 views

How to use with Country Name instead of Country Code?

Here is my code about shipping Estimation cost script, <?php ob_start(); require_once('./../app/Mage.php'); umask(0); ini_set('display_errors',true); ini_set('memory_limit', '1024M'); Mage::app()-...
0
votes
0answers
27 views

Country not dispalyed in grid after overriding grid customer magento 2

I have overrided the grid customer I can see all the value of attributes except the country I don't know why this behavior this is a part of grid code: <column name="billing_country_id" component="...
0
votes
1answer
407 views

How to change the checkoutProvider name in magento2

where we need to change the 'checkoutProvider' name for passing custom countries list in magento2 checkout page. I tried to change in checkout_index_index.xml file but not working. how to display in ...
0
votes
1answer
618 views

Magento2 : How to show country and state dropdown field in customer account information section in admin?

I want to add country and state dropdown field in account information in Magento2 admin? Googled a lot, but not able to find right solution. Any help would be appreciated.
0
votes
0answers
55 views

Countries in dropdown : 2 digits to 3 digits

I have a question about the source model "Country". Currently, I can use, in my system.xml file, the following source_model : <source_model>Magento\Directory\Model\Config\Source\Country</...
0
votes
1answer
492 views

Country drop down is empty magento2

I have set default country as UK in admin, after the configuration is done, In checkout one empty drop down is showing before the UK country. so I have used below plugin to remove that empty dropdown....
0
votes
1answer
53 views

i want change language according to access point

hi i want to change language according to country visitors means if any user access my website in us than price show in dollar and another access in india than price shows in INR. please help me how ...
0
votes
1answer
505 views

Sales Report by Country

I have customers from Germany, Austria, & Switzerland all using the same Store & StoreView. Is there any way to get a sales report filtered by country? Maybe with a short script or something?...
0
votes
1answer
597 views

'Allowed countries' configuration not recognised in Paypal Express Checkout for shipping address validation

I have a client's shop allowing orders to a national shipping address only. Using the integrated payment method 'PayPal Website Payments Standard' the paypal express checkout can be completed using ...
0
votes
0answers
629 views

How to integrate Custom Courier in Magento

I want to integrate DTDC couriers on my project website. But the courier agency didn't provides the api for integration.So I want to know How to manually integrate the courier service, and how to ...
0
votes
1answer
542 views

How to block an order by country?

I currently authorized in the administration five countries but I would want to keep one, so I just chose this country in configuration> General> countries Options> allow countries. The problem is ...