Support » Plugin: Custom Content Shortcode » Magic for Woocommerce. Thanks!

  • Genial plugin!
    Many thanks for author!
    I needed forming price list from Woocommerce variations price.
    And magic:

    
    <table>
    <tbody>
    <tr><th>Name</th><th>Price</th></tr>
    [loop type=product orderby=menu]
    <tr>
    <td colspan="3"><h5>[field link]</h5></td>
    </tr>
    [-loop type=product_variation parent=this orderby=field_num key=_price order=ASC]
    <tr>
    <td>[field title]</td>
    <td>[field _price]</td>
    </tr>
    [/-loop]
    [/loop]
    </tbody>
    </table>
    

    I came to this solution peeking in phpmyadmin 🙂
    Elegant and helpful.

    • This topic was modified 2 years, 4 months ago by 0tim.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Magic for Woocommerce. Thanks!’ is closed to new replies.