WooCommerce variable products: Display some variations values in an HTML table
问题 In Woocommerce, I would like to create a function which outputs a simple HTML table with height , width , regular price and sale price for each variation of a variable product . For example, let's say that the variable product comes with three variations with different dimensions and I need to make my function output this HTML: <table> <thead> <tr> <th>Height</th> <th>Width</th> <th>Regular price</th> <th>Sale price</th> </tr> </thead> <tbody> <tr> <td>180cm</td> <td>100cm</td> <td>224€</td>