We have products that require a quotation, so we use the price of 0 and I created a theme template called product-quote so that they cannot add to cart only ask for a quote via contact form
But there are some people who have already added products in the cart with price of 0
We want to make sure if a product with price of 0 got to the cart for some reason, they will be unable to check out.
maybe 2-3 ways
-
if there is products in the cart with price of 0 delete them
-
if there are products in cart with price of 0 don’t let them check out
-
alternatively if only products with price of zero in the cart
thanks in advance