Hello my store is locate in Netherlands so if a guest buy something hi Will find Netherlands as preselected country in billing and shipping informazioni.
I would like preselected also a region for take off --plese select-- Like preselected choise.
How can I do it?
There are two ways to accomplish that:oplini wrote: ↑Mon May 25, 2020 7:06 pmHello my store is locate in Netherlands so if a guest buy something hi Will find Netherlands as preselected country in billing and shipping informazioni.
I would like preselected also a region for take off --plese select-- Like preselected choise.
How can I do it?
1. Delete all countries except the one you need, that way the user will only see one country
2. Edit the checkout file, and use JavaScript to preselect the country. You should take into account that the values of the dropdown are IDs, not the ISO name. The JavaScript code will look like this:
Code: Select all
document.getElementById("input-payment-country").value= "21";
A2 Hosting features: Shared Turbo Boost, Managed Warp 1, Unmanaged Hyper 1, and Warp 2 Turbo
Hi there,oplini wrote: ↑Mon May 25, 2020 7:06 pmHello my store is locate in Netherlands so if a guest buy something hi Will find Netherlands as preselected country in billing and shipping informazioni.
I would like preselected also a region for take off --plese select-- Like preselected choise.
How can I do it?
Can you please share screenshot as while guest checkout preselected country shows in list as selected one but there are other countries in a list as well so guests can also change that, so what exactly you mean? Please clear your point.
Thanks !!!
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool
Who is online
Users browsing this forum: SohBH and 6 guests