1. Home
  2. Knowledge Base
  3. WooCommerce Product Add-Ons Ultimate
  4. Product add-ons with SKUs
  1. Home
  2. Knowledge Base
  3. Field Types
  4. Products Fields
  5. Product add-ons with SKUs

Product add-ons with SKUs

As a rule, product add-ons don’t have SKUs. However, there are times when you want to assign an SKU to an add-on option: for instance, you might want to track the inventory of your add-ons.

The best way to do this is to use the Products field type. This means that you can create your add-on as a standalone product, along with price, weight, inventory and SKU etc.

Then you can use this product as a ‘child product’ to your main product.

Preventing child products from being purchased separately

If you want to prevent your child products being visible or purchasable by the customer unless they’re part of a parent product, then make the child product hidden.

This will hide the product from your shop. However, a customer could still access this if they knew the URL.

To prevent users from accessing hidden products at all, go to WooCommerce > Settings > Product Add-Ons > Products and select the option to ‘Redirect hidden products’.

Was this article helpful?

Related Articles