How to set default country on checkout page ?

Updated 17 May 2023

To set the default country on the checkout page you have to follow the below steps:-

Step 1

Find the following file packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php 

Step 2

Find the component name checkout inside it add a key country: ‘IN’ ( IN will replace by country code ) to address.billing{} as illustrated below

Step 3

Run command php artisan vendor:publish –force and select package no. and hit enter

Step 4

Check the result

That`s all for “How to set the Default country on the Checkout page “. If you have any queries do let us know in the comment section

If you want to add awesome custom functionalities to your project you can also Hire Laravel Developer. You can also check out our Extensions

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home