Skip to content

Default Billing country showing in Magento 2 checkout

When I load the checkout I find country name in billing address already. This is Magento 2 default code which render this in file Module_Checkouttemplatebilling-addressdetails.html <text args=”getCountryName(currentBillingAddress().countryId)”></text><br> How to stop showing on page load.

Magento2.4.6: setTimeout() doesn’t work on server on checkout page but its working on local checkout page, whats the reason?

Here is the code <script> require([ “jquery” ], function($) { ‘use strict’; $(document).ready(function () { setTimeout( function(){ let telephone = $(‘input[name=”telephone”]’); telephone.keypress(function() { console.log(“Formatting phone number with keypress”); telephone.attr(‘maxLength’, ’13’); telephone.attr(‘minLength’, ’13’); telephone.addClass(‘validate-phone-13’); telephone.attr(‘type’,’tel’); let x = $(this).val(); x =… Read More »Magento2.4.6: setTimeout() doesn’t work on server on checkout page but its working on local checkout page, whats the reason?

Magneto error: “Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider”

So when I install Magento using DirectAdmin all goes well. When I go to the website I get the error “Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider”. I… Read More »Magneto error: “Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider”