WORDPRESS HANDBOOK / General goods edition

WordPress Product GuideGeneral goods edition

Publish products, set up variations, and configure product categories and menus step by step. Everything is done in the WordPress admin, using the WooCommerce product editor.

Products, URLs, prices, and stock levels in the screenshots are examples only.

01

Publish a simple product

Go to Products → Add New Product and enter the product name, description, and short description.

Set the “Product image” and “Product gallery”, then tick the matching “Product categories” on the right.

Enter product details and choose product categories

Enter product details and choose product categories

Open image ↗

Under Product data, choose “Simple product”. On the “General” tab, enter the regular price; add a sale price if needed. On the “Inventory” tab, make sure it is in stock; to track quantity, enable “Manage stock?” and enter the quantity.

For a simple product, enter the price on the General tab

For a simple product, enter the price on the General tab

Open image ↗

When done, click “Publish” on the right. To edit a published product later, click “Update”. Open the product page on the storefront to check the price, images, and buy button.

02

Add color and size attributes

If the product comes in different colors, sizes, or other options, change “Product data” to “Variable product”, then open “Attributes”. To add variations to an existing product, also start from its edit page.

Add an attribute “Color” with the values Black|White, then add “Size” with the values M|L. Separate multiple values with a vertical bar (|).

Tick “Used for variations” for each attribute, then click “Save attributes”.

Use attributes for variations and save

Use attributes for variations and save

Open image ↗

Next, open “Variations” and click “Generate variations”. In this example, four combinations are created: Black M, Black L, White M, and White L.

In older versions, you may need to choose “Create variations from all attributes” from the dropdown, then click Go.

03

Fill in variations and publish the product

Expand each variation in turn, keep “Enabled” ticked, and enter its regular price. Every purchasable variation needs a price.

To track stock per variation, tick “Manage stock?” for that variation and enter the quantity. If you do not track quantity, make sure the stock status is In stock. Variation images are optional.

Fill in SKUs as needed for your product management.

Enter the price and stock for each variation, then save changes

Enter the price and stock for each variation, then save changes

Open image ↗

Once all variations are filled in, click “Save changes”, then “Publish” on the right. When editing a published product, finish by clicking “Update”.

On the storefront, switch through each color and size to check the price, stock, and Add to cart button for every combination.

04

Add product categories and subcategories

Go to Products → Categories. First add a parent category: enter “Clothing” as the name, optionally “clothing” as the slug, set Parent category to “None”, and click “Add new category”.

Then add a subcategory: enter “T-shirts” as the name, optionally “t-shirts” as the slug, choose the “Clothing” category you just created as the parent, and click “Add new category”. Add other subcategories, such as Jackets, the same way.

Set Clothing as the parent of the subcategory

Set Clothing as the parent of the subcategory

Open image ↗

Back on the product edit page, tick the matching categories or subcategories under “Product categories” on the right, such as “Clothing” and “T-shirts”, then click “Publish” or “Update”.

Choose product categories for the product and save

Choose product categories for the product and save

Open image ↗

After creating categories, you still need to assign them to products. Only “Product categories” is used here.

05

Add categories to the menu and set up submenus

Go to Appearance → Menus and select the menu your site uses. If there is no menu yet, create a new one first.

Click “Screen Options” in the top right and tick “Product categories”. On the left, open “Product categories → View All”, tick Clothing, T-shirts, and Jackets, and click “Add to Menu”.

Tick Product categories in Screen Options

Tick Product categories in Screen Options

Open image ↗

Drag T-shirts and Jackets below Clothing and indent them to the right to make them sub-items. Category hierarchy and menu indentation are set separately.

Indent subcategories and choose the menu display location

Indent subcategories and choose the menu display location

Open image ↗

Under “Display location”, tick your theme's primary menu or header navigation location, then click “Save Menu”. On the storefront, check that the menu, dropdown items, and category pages all open correctly.

If there is no “Appearance → Menus”, go to Appearance → Editor → Navigation, edit the current navigation, add “Product Categories” links, set up submenus, and save.

Stuck on a step?

Send us the page you're on and the steps you took, and we'll help pin down the problem.

Let's talk about your website

Tell us about your products, target markets and budget, and we'll work out the right direction together.

WeChat IDwordpress003
Copy and open WeChat
WhatsApp +852 9305 5024

In WeChat, tap + → Add Contacts and search for wordpress003.