How to get WooCommerce product's slug, title, and ID?

This article will show you how to get slug, title and ID of product

Understanding how to retrieve the Slug, Title, and ID of your WooCommerce products is essential for customizing your online store and integrating additional functionality. This guide will walk you through how to easily find a product's Slug, Title, and ID in WooCommerce.

  1. Log in to your WordPress admin panel

  2. Click on Products to open the list of all products in your store.

Find the Product slug

  1. In the Products list, locate the product whose ID you need.

  2. Hover over that product and click on Quick Edit.

  3. You can copy the product’s slug in the Slug field.

Find the Product Title

  1. In the Products list, locate the product whose ID you need.

  2. Hover over that product, click on Quick Edit

  3. You can see the product title in the Title field.

Find the Product ID

  1. In the Products list, locate the product whose ID you need.

  2. Hover over the product name.

  3. The product ID will appear beneath the product name as a number after ID: (e.g.., 123).


Need help?

Get in touch with our support team through live chat or email at [email protected]. We're here to help!

Did this answer your question?
😞
😐
😁