score:0

Woocommerce is act as custom post type, so you can get the details of a products as like the post

so try

get_the_title($product->ID)

to get the title of the proudcts

get_permalink($product->ID)

to get the permalink of the product

Where the $product->ID is the postID


Related Query