Picture of Prevent Adding Kit to Cart if Any Product Is Out of Stock

Prevent Adding Kit to Cart if Any Product Is Out of Stock

When managing kit products in your store, it may be important for you to ensure that all items in a kit are available before a customer adds the kit to their cart. Our Stock Validation for Kits feature helps you do just that by verifying the stock of all products in the kit before adding them to the cart. If any item in the kit is out of stock, the entire kit will not be added to the cart.

What Does It Do?

This feature ensures that customers can only add kits to their cart when every item within the kit is available. If one or more products are out of stock, none of the items in the kit will be added to the cart. This helps prevent incomplete kits from being purchased and avoids confusion or issues during checkout.

Why Is It Important?

Previously, it was possible for users to add a kit to the cart even if some items were out of stock. This could lead to customers encountering issues at checkout when those out-of-stock items were unavailable. By enforcing stock validation for all items in a kit, this feature ensures a smoother, more reliable shopping experience, reducing cart abandonment and inventory errors.

How to Enable or Disable Stock Validation for Kits

You can easily enable or disable stock validation for kits from the product settings page. Here's how:

  1. Navigate to the Kit Config page for the kit you want to configure.
  2. Look for the setting labeled "Validate stock of all products involved."
  3. Toggle this setting to enable or disable stock validation for the kit.
    • Enabled: Stock validation will be checked for both the kit and all individual items before they can be added to the cart.
    • Disabled: The stock of individual items will not be validated, and customers may still add the kit to their cart even if some items are out of stock.

How It Works

  • If the kit product handles stock: The stock of the master kit will be validated first. If the kit is out of stock, none of the items will be added to the cart.
  • If the kit product does not handle stock: The stock of each child product will be validated based on the quantities in the kit. If any child product is out of stock, the entire kit will be prevented from being added to the cart.

Key Benefits

  • Prevents Cart Issues: Ensures that customers only add complete kits to their cart, avoiding any surprises during checkout when items are unavailable.
  • Improves Customer Experience: Provides a clear message if any items in the kit are out of stock, helping customers make informed decisions before they attempt to checkout.
  • Better Inventory Management: Helps you manage inventory more effectively by ensuring that only kits with available stock are added to the cart.

For further details and additional testing instructions, please refer to the Infigo Academy at Infigo Academy.

Incomplete
Alternate Search Terms
WYSIWYG stands for "What You See Is What You Get" which means that the styling choices made in this editor will be reflected on the front end.