Favourites
This extension provide ability for the customers collect products for further buying of them.
User can collect products through special table cell:
Also user can collect products directly on the product single page if to insert there shortcode [woot_favourites_single_btn] using code in the file functions.php of the current wordpress theme:
add_filter('woocommerce_product_meta_end', function() { echo '<br /><br />' . do_shortcode('[woot_favourites_single_btn]'); });
Columns of favourites products table can be set in the plugin settings:
Users favourite products can be visible thanks to link parameter user_id:
- https://demo.products-tables.com/woot_favourites/?user_id=1
- https://demo.products-tables.com/woot_favourites/?user_id=2
For any statistical data favourites products can be extracted by code:
$fav_products = get_user_meta($user->ID, 'woot_favourites', true)
Shortcodes:
Download 'WOOT Favourites'