Installation
↑ Back to topDownload, install and activate the extension.
It is strongly recommended you initially use a staging/development environment and test the extension before use on a production website.
If you haven’t already, connect your store to your WooCommerce.com account. This ensures you get extension update notifications when available.
Quick start guide
↑ Back to top- Perform the installation steps above
- Go to WooCommerce > Settings > Products > Product likes
- Configure the settings as required, we recommend using the defaults
- Once the settings have been saved products throughout your store will shown like buttons as per the settings used
- Once you have built up a number of likes go to Products > Likes to access the likes dashboard which shows how many likes products/customers have and you can view which products have been liked/which products specific customers have liked
Settings
↑ Back to topYou can access the settings at WooCommerce > Settings > Products > General > Product Likes, it includes several configuration options including enabling like buttons for non-logged in users, my account likes list, display preferences, icon types and more.

Display
↑ Back to topProduct like buttons and total likes are shown on the product page and on each product in an archive page (e.g. product category), you can disable the display on either of these areas if needed. You can select the icon type (heart, thumb or none) or choose to remove all styling and style yourself with CSS.


Dashboard
↑ Back to topThe likes dashboard can be accessed via Products > Likes and shows a list of your products and their likes total. You can click a like total to see which customers/how many guests liked the product. The likes dashboard and be searched/sorted and you can export/print all the data. It also includes a customer totals section which lists all customers, how many likes they’ve made and you can click the total likes to see which products they liked.
Outside of the likes dashboard you can also see the total number of likes in a designated column on the product listings.

Technical
↑ Back to topNon-logged in users
↑ Back to topFor users who aren’t logged in their likes will count towards the product’s like total and their likes will remain visible when they visit your store until their cookie expires or is deleted. You can disable this option if needed via settings.
Post meta
↑ Back to topThis extension stores product post meta with the key _wcpl_product_likes_likes
for the total number of likes. This post meta should not be created/updated through the database, import, custom development or by using clone page/post/product plugins (with the exception of using the duplicate link on products in the dashboard product list) as it is related to data stored outside post meta in a database table for each individual like and both should remain in sync. If the post meta is added/updated you may see inconsistencies when attempting to like or unlike products. If you have attempted to create/update this post meta and have issues then you can resync the post meta by logging into your dashboard as an administrator and adding wcpl_product_likes_debug_post_meta=1
to the admin URL and pressing enter e.g. http://example.com/wp-admin/?wcpl_product_likes_debug_post_meta=1
Custom development
↑ Back to topThe following information is provided for custom development purposes for web developers, they are useful if you wish to add custom features or modify how the extension works. As per the WooCommerce support policy we cannot offer any support for your use of these custom development features.
Filter hooks
↑ Back to topFilter hook | Description |
---|---|
wcpl_product_likes_likes_none_text | Change text in my account when no products yet liked |
wcpl_product_likes_likes_text | Change likes text |
wcpl_product_likes_like_text | Change like text |
wcpl_product_likes_products_alternative_hook | Return false to use default woocommerce_product_meta_start action hook, return true to use woocommerce_after_add_to_cart_form (not recommended) – see display on product pages information in settings for further details |
wcpl_product_likes_total_after_text | Change text which appears after total likes |
wcpl_product_likes_total_before_text | Change text which appears before total likes |
wcpl_product_likes_unlike_text | Change unlike text |
Cookies
↑ Back to topThis extension may set the following cookies, it is recommended you include details of these cookies in your cookie policy.
Name | Description | Expiry |
---|---|---|
wcpl_product_likes | Used to give a unique ID to a user who isn’t logged in so their likes are remembered until the cookie is removed. | 30 days |
FAQs
↑ Back to topIs it compatible with a specific theme?
↑ Back to topThis extension will generally be compatible with most themes. There may be a small number of themes that are fully or partially incompatible due to clashes in functionality and/or if the theme has removed or adapted core WooCommerce functionality. If you would like to know if a specific theme will be compatible before purchase then please contact us and we can advise, it may not be possible for us to determine this e.g. if the theme requires a license and/or several configuration steps. In this scenario you are welcome to purchase and test this extension with the theme and if there is a a compatibility issue you can take advantage of the 30 day refund policy for this extension.
Is it compatible with a specific extension/plugin?
↑ Back to topThis extension will generally be compatible with most extensions/plugins. There may be a small number of extensions/plugins that are fully or partially incompatible due to clashes in functionality and/or if the extension/plugin has removed or adapted core WooCommerce functionality. If you would like to know if a specific extension/plugin will be compatible before purchase then please contact us and we can advise, it may not be possible for us to determine this e.g. if the extension/plugin requires a license and/or several configuration steps. In this scenario you are welcome to purchase and test this extension with the other extension/plugin and if there is a a compatibility issue you can take advantage of the 30 day refund policy for this extension.
Is it compatible with a specific page builder?
↑ Back to topThis extension will generally be compatible with most page builders. There may be a small number of page builders that are fully or partially incompatible due to clashes in functionality and/or if the page builder has removed or adapted core WooCommerce functionality. If you would like to know if a specific page builder will be compatible before purchase then please contact us and we can advise, it may not be possible for us to determine this e.g. if the page builder requires a license and/or several configuration steps. In this scenario you are welcome to purchase and test this extension with the page builder and if there is a a compatibility issue you can take advantage of the 30 day refund policy for this extension.
Support
↑ Back to topIf you need any further assistance with this extension please contact us. Please note that extension support does not include providing assistance with any custom development requirements as per the WooCommerce Support Policy.