All Collections
WooCommerce
How to get WooCommerce product's slug/ID?
How to get WooCommerce product's slug/ID?

This article will show you how to get slug or ID of product

Dan Dong avatar
Written by Dan Dong
Updated over a week ago

You will need to use product slug or ID to import reviews for your WooCommerce products

1. Get WooCommerce product's slug

  1. Login to your WordPress admin > Products > All products.

Products section - Wordpress admin store

2. Hover on a product that you want to get slug, click on Quick edit then you can see Slug of product.

Get WooCommerce product slug

2. Get WooCommerce product's ID

  1. Login to your WordPress admin > Products > All products.

2. Hover on a product that you want to get the product's ID then you can see the ID of the product.

Get WooCommerce product ID

All the best,

The Ryviu team

Did this answer your question?