The new version of WavePlayer adds native support to the Barn2 Product Table columns, allowing you to add a player instance in the most intuitive way possible. This makes WavePlayer arguably the easiest player with waveform capabilities that it is possible to integrate with the Barn2 WooCommerce Product Table plugin. By simply including a column called
waveplayer to your
columns option – either in the Product Table settings or in the shortcode of each product table –, WavePlayer will automatically retrieve the preview files associated with each product and print a player with the appropriate tracks in the corresponding column. No more acrobatics with short descriptions or custom field tricks: let WavePlayer take care of all this for you!
For example, the following shortcode:
[ product_table columns="waveplayer:Preview, name, price, add-to-cart" ]
creates a product table similar to the one below, with four columns respectively containing an instance of WavePlayer, the title of the product, its price and the button to add the product to the cart.
Yes, it truly is that easy!
|Biking||$14.00 – $149.00|
|Driving in my car||$19.00|
|Energetic Indie Rock||$19.00|
|Energetic Upbeat Pop||$19.00|
|Give our dreams their wings to fly||$19.00|
|In the Moment of Inspiration||$19.00|
|Inspiring Uplifting Emotional Piano||$19.00|