Sometimes it’s necessary to ensure that certain conditions are met when a customer goes through the checkout process. If those conditions are not met, you may require that the customer corrects the cart before they can checkout. For instance, if you are selling Product A that requires an important variable (like a time slot or a pick-up date) and subsequently offer additional upsell products as add-ons to Product A; it is important that Product A is a requirement in order for the guest to purchase the add-ons. In other words, the customer MUST have Product A in the cart with the product upsells (based on category) in order to complete the checkout process. If the customer adds Product A and then adds a bunch of upsell products and then deletes Product A from the cart, they will then get an error message in their cart stating that Product A is required to checkout and they will not be able to complete checkout. The product upsells become dependent on Product A. On the other hand, the customer may complete checkout if only Product A is added to the cart and there are no upsells present. This scenario is necessary in the following examples including but not limited to:
• The main product (Product A) requires a time slot or pick-up date specific to that product
• There are many components available to the main product (Product A) and you require that Product A is purchased with them
Conditional Cart Plugin Settings:
• Simply enter the dependent Category slug – the Category of products that requires a main product.
• Enter the error message that you would like to show in the cart when the condition is not met. That’s it, simple!
We will be adding more features for the Conditional Cart plugin in the future but would love to get your feedback on the conditions that you may require for checkout, so please let us know in the comments below!