I want to restrict order place on the checkout page if the virtual product in cart with another product type like Simple, Configurable, etc.

Users can place the order when either virtual product in cart or other product_type(Simple, configurable) products in the cart.

if both type products in the cart then the order will not be placed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.