If you use WooCommerce on your WordPress website for an online store you may need to find the product id of an item in the store to use on the website. You may want to use the product id to make a direct add to cart link for your WooCommerce product on your website on there. You can do this without a plugin on there.
- From the WordPress admin left menu you can click on the products link
- From the list of products you can hover the mouse over the product you want to know the id of
- In the lower right you will likely see a link listed like yourdomain.com/wp-admin/post.php?post=345&action=edit
- The 345 is where you can find the product id
If that worked for you then you now have the product id of the WooCommerce product on your WordPress website on there.
Leave a Reply