Updated 17 May 2023
To set the default country on the checkout page you have to follow the below steps:-
Find the following file packages/Webkul/Velocity/src/Resources/views/shop/checkout/onepage.blade.php
Find the component name checkout inside it add a key country: ‘IN’ ( IN will replace by country code ) to address.billing{} as illustrated below
Run command php artisan vendor:publish –force and select package no. and hit enter
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
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.