Hi,
I actually think you can do this without using any plugin.
In WC you setup both ‘sell to’ and ‘ship to’ countries. If you setup the ‘sell to’ to all (you want) and the ship to only to your country, you should be able to only allow shipping to your country. Then if you mark the downloadable products as ‘virtual’ they don’t require any shipping and WC won’t ask for it and I expect it to work…
I haven’t tested this myself, so its just a theory, but seems solid 🙂
If needed you may also use the ‘shipping class’ condition, but I don’t think that would give the full desired result though (the first suggestion should 😉
Let me know!
Cheers,
Jeroen
Thread Starter
Trin
(@vbptrin)
Thanks Jeroen!
This seems to work, but there is one problem with it. If the person puts in a country that we don’t ship to, it does give them an error for the shipping price. Unfortunately it still will let them proceed to payment with the shipping error. I don’t know if this would be an error on our payment plugin or with woocommerce, but you definitely helped me! Thank you so much!
Hi,
What kind of error is it giving?
If there are only virtual products in the cart it should allow you to continue the checkout as it doesn’t require any shipping. As long as it is allowed to sell to the given billing country.
Are you using a multi-step checkout..? (sounds like it)
Thanks,
Jeroen
Thread Starter
Trin
(@vbptrin)
Oops, I meant to say that this error was showing up if the person was trying to order non-downloadable products. It’s working perfectly if they are only ordering a downloadable item.
The error message says “There are no shipping methods available. Please double check your address, or contact us if you need any help.” but it still lets them click continue to payment and let them enter their card information.
We use WooCommerce Stripe Gateway for payments, so I guess that is a multi-step checkout.
I feel bad having you help since this isn’t to do with your plugin, but if you do know anything we can do we would be very grateful. Thanks, Jeroen!
Hi,
Ah, gotcha.
Well, Stripe itself shouldn’t include a multi-setup checkout, but as you mention “lets them click continue to payment” it suggests you do have a multi-step checkout..
In that case it may be best to ask that plugin developer to see if its possible to add that as a feature (a required shipping method, seems like a fair request).
Have a great day!
Jeroen Sormani