Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Magento 2.4 #16

Open
wajahatbashir opened this issue Oct 2, 2020 · 2 comments
Open

In Magento 2.4 #16

wajahatbashir opened this issue Oct 2, 2020 · 2 comments

Comments

@wajahatbashir
Copy link

I have installed this module in Magento 2.4 - But after installation and activation from admin But issue is phone dropdown not showing on checkout page in Front-end ? there are any setting for this issue ?

@monika-radadiya
Copy link

monika-radadiya commented Oct 15, 2020

Edit block MaxMage\InternationalTelephoneInput\Block\PhoneNumber.php

public function phoneConfig()
{
$config = [
"nationalMode" => false,
"utilsScript" => $this->getViewFileUrl('MaxMage_InternationalTelephoneInput::js/utils.js'),
// "preferredCountries" => [$this->helper->preferedCountry()]
];

    if ($this->helper->allowedCountries()) {
        $config["onlyCountries"] = explode(",", $this->helper->allowedCountries());
    }

    return $this->jsonHelper->serialize($config);
}

@MaxMage
Copy link
Owner

MaxMage commented Aug 1, 2021

@monika-radadiya thank you, i will check support with Magento 2.4.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants