Questions tagged [countries]
The countries tag has no summary.
65 questions
1 vote
0 answers
65 views
switch store view with select country in checkout / cart
I would like to trigger the store view to change according to the selected country in cart and checkout in Magento 2.4.3 Does anyone do have a clue if or how this is possible? Thanks
1 vote
1 answer
1k views
Magento 2 Country Restriction on checkout page shipping address
I am working in Magento-2, In my requirement, I want to show particular country on checkout page shipping address country drop-down, this only applicable for the shipping address form section, in ...
0 votes
1 answer
191 views
How to remove currency full name in magento 2 like USD- US Dollar. i wanna remove US Dollar
I am using Magento 2 and I wanna remove the currency country name. I mean just code should be shown. Thanks
0 votes
1 answer
170 views
GeoIP issue when automatically setting storeview in Magento 2 (`geoip_country_code_by_name` function)
In order to automatically switch store views depending on a user's location we have decided to add the code provided here:Magento 2 pragmatically set storeview to ourindex.php file as shown below: <...
0 votes
0 answers
301 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
1 answer
381 views
Magento2: How to get country list in custom HTML template
I need to display a country list with dropdown in the custom knockout HTML template. Help would be appreciated.
0 votes
0 answers
254 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.
2 votes
1 answer
1k views
Magento 2.3.3: Creating customer address in admin shows no countries or wrong countries in dropdown
I have just one country allowed in configurations. If I try to create new address for customer in admin, the country dropdown does not show any countries, not even one. I can't save the address, ...
1 vote
1 answer
534 views
Magento 2 Allowed Countries Admin Issue
Magento ver. 2.3.3 Choose a few allowed countries. Then go to Customer Address Edit Form in Admin area. Country dropdown is not as we expected. If I just use 1 country none will show up if you ...
3 votes
1 answer
1k views
Magento 2 Country Name not get translated when using countryFactory
My Magento site have about 10 different websites and one for each country. I have set the correct Locale corresponding to each country (storeview). I'm getting Country Name by using countryFactory, ...
1 vote
0 answers
38 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
1 answer
1k views
sql query for shipping countries from my sales order
I need to write a SQL query to get all countries where we have shipped al orders. Which table has all sales order countries? I am not able to find all the countries.
0 votes
5 answers
5k views
Magento 2 - get Current Country Code in Cart Page
I want to Fetch Current Country Code in Cart Page Section (js)
0 votes
1 answer
270 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
1 answer
85 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()-...