1// Get Product ID
2
3$product->get_id();
4
5// Get Product General Info
6
7$product->get_type();
8$product->get_name();
9$product->get_slug();
10$product->get_date_created();
11$product->get_date_modified();
12$product->get_status();
13$product->get_featured();
14$product->get_catalog_visibility();
15$product->get_description();
16$product->get_short_description();
17$product->get_sku();
18$product->get_menu_order();
19$product->get_virtual();
20get_permalink( $product->get_id() );
21
22// Get Product Prices
23
24$product->get_price();
25$product->get_regular_price();
26$product->get_sale_price();
27$product->get_date_on_sale_from();
28$product->get_date_on_sale_to();
29$product->get_total_sales();
30
31// Get Product Tax, Shipping & Stock
32
33$product->get_tax_status();
34$product->get_tax_class();
35$product->get_manage_stock();
36$product->get_stock_quantity();
37$product->get_stock_status();
38$product->get_backorders();
39$product->get_sold_individually();
40$product->get_purchase_note();
41$product->get_shipping_class_id();
42
43// Get Product Dimensions
44
45$product->get_weight();
46$product->get_length();
47$product->get_width();
48$product->get_height();
49$product->get_dimensions();
50
51// Get Linked Products
52
53$product->get_upsell_ids();
54$product->get_cross_sell_ids();
55$product->get_parent_id();
56
57// Get Product Variations and Attributes
58
59$product->get_children(); // get variations
60$product->get_attributes();
61$product->get_default_attributes();
62$product->get_attribute( 'attributeid' ); //get specific attribute value
63
64// Get Product Taxonomies
65
66$product->get_categories();
67$product->get_category_ids();
68$product->get_tag_ids();
69
70// Get Product Downloads
71
72$product->get_downloads();
73$product->get_download_expiry();
74$product->get_downloadable();
75$product->get_download_limit();
76
77// Get Product Images
78
79$product->get_image_id();
80$product->get_image();
81$product->get_gallery_image_ids();
82
83// Get Product Reviews
84
85$product->get_reviews_allowed();
86$product->get_rating_counts();
87$product->get_average_rating();
88$product->get_review_count();
89