You have no items in your shopping cart.

Sunday, December 22, 2024 8:23:56 AM

Pictures?

Posted: 7 years ago

#5301 Quote

ali2017

Posted: 7 years ago

#5301 Quote
I wonder if i can change the external authentication image per language.

Please let me know if that is possible with your plugin.

Thank you.

Posted: 7 years ago

#5302 Quote

Support

Posted: 7 years ago

#5302 Quote
Do you have own picture for each languages?
Example.
Customer open login page and saw Facebook German picture, he changes language and saw English picture.
You can do it without me.

Each picture (logo) was described in external CSS style. You can add your own CSS style and each logo will have own picture.
Example.
You should add code in PublicInfo.cshtml.
@{
            var workContext = Nop.Core.Infrastructure.EngineContext.Current.ContainerManager.Resolve<IWorkContext>();
            if (workContext.WorkingLanguage.LanguageCulture=="Ru-ru")
            {
                <style>
                    .social-facebook-btn {
                    background-image: url("images/facebook-account-logo-ru.png");
                }
                </style>
            }
}

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved