Shipping restriction for a product according to country.
i want to add a module for shipping restriction for a specific product. for example if a person opens website in USA then it shows the product is not shipped to the USA and if website will be opened in any other country then it shows that the product is eligible for shipping am using Laravel for my project.
@zulqarnain You need to break the task down into smaller parts.
First work focus on finding out the user’s current location. You could do this via IP address, but this method isn’t 100% accurate and can be spoofed if the user is using a VPN, proxy, etc.
Once you’re able to infer a country for a user, you can then show an alert if that country is not in a list of countries then given product is shipped to.