I am creating a farmhouse website, farmhouses will be available for rent and for purchasing. for that, I am writing my own product url.
<a href="/cart/?add-to-cart=4881&variation_id=5020">Checkout Now</a>
there are only 2 variations and they have price and they are "in-stock"
when I go to url it shows error on cart page
"Purchase type is a required field"
where Purchase type is the attribute on which variations are created.
What is mean by "is a required field" when the required field (regular price) is filled.
See Question&Answers more detail:os