Configuring a variable product in WooCommerce involves setting up product variations based on different attributes, such as size, color, or material. This allows customers to choose the specific version of a product they want to purchase. Here's a step-by-step guide on how to configure a variable product in WooCommerce:
- Log in to your WordPress dashboard.
- Navigate to the 'Products' tab on the left sidebar, and click 'Add New' to create a new product.
- Enter your product's name, description, and any other relevant information.
- In the 'Product Data' dropdown, select 'Variable product'. This will change the options available in the Product Data section.
- Add attributes for your product variations: a. Click the 'Attributes' tab under 'Product Data'. b. Select an existing attribute from the dropdown menu or create a new one by clicking 'Add' next to 'Custom product attribute'. c. Enter the attribute name and the possible values separated by a vertical bar (|). For example, if your product comes in three colors, you would enter "Color" as the attribute name and "Red|Blue|Green" as the values. d. Make sure the 'Used for variations' checkbox is ticked. e. Click 'Save attributes' to save your changes.
- Create variations for your product: a. Click the 'Variations' tab under 'Product Data'. b. Click the 'Add variation' dropdown and select 'Create variations from all attributes'. This will automatically generate all possible combinations of your attributes. c. Click 'Go' and confirm the action when prompted. WooCommerce will create a variation for each combination of attribute values. d. For each variation, you can set a unique SKU, price, stock status, weight, dimensions, and image. Click the triangle icon next to each variation to expand its settings. e. Fill in the necessary information for each variation and click 'Save changes'.
- Add a featured image and any additional gallery images for your product by using the 'Product image' and 'Product gallery' options on the right sidebar.
- Assign the product to relevant categories and add any applicable tags.
- Review all the information and click 'Publish' to make your variable product live on your WooCommerce store.
Customers will now be able to select their desired variation based on the attributes you've configured, and the product information will update accordingly.