Troubleshooting Guide: Fixing Missing or Misplaced YITH Wishlist Icons
Content
Why Is My YITH WooCommerce Wishlist Icon Not Showing?
One of the most common issues users face with the YITH WooCommerce Wishlist plugin is the heart icon not appearing where expected. Based on community reports and solutions, this problem typically stems from conflicts with your WordPress theme, page builder, or customizations.
Common Causes and Their Solutions
1. Theme CSS Conflicts
Many themes apply custom styles that can override or hide the wishlist icon.
Solution: Add custom CSS to your theme's Additional CSS section (Appearance → Customize → Additional CSS).
ul.products li a.add_to_wishlist.single_add_to_wishlist{
font-size: 13px!important;
}
ul.products li a.add_to_wishlist.single_add_to_wishlist i:before{
font-family: FontAwesome;
}
2. Outdated Theme Template Files
If your theme has a custom add-to-wishlist.php template file, it might be outdated and causing display issues.
Solution: Locate the template file in your theme's folder (often in the root or under /woocommerce/) and rename it to add-to-wishlist.php.bak. This will force the plugin to use its own updated template.
3. Page Builder Compatibility (Elementor, Divi)
Page builders sometimes modify how WooCommerce hooks work, preventing the automatic display of wishlist buttons.
Solution: Use the dedicated YITH Wishlist widget if available in your page builder, or manually add the shortcode [yith_wcwl_add_to_wishlist] to your product templates.
4. Missing CSS/JS Assets
In some cases, the plugin's CSS and JavaScript files might not be loading properly.
Solution: Add the following code to your theme's functions.php file to force loading the required assets:
if ( defined( 'YITH_WCWL' )) {
if( ! function_exists( 'yith_wcwl_enqueue_back_required_assets' ) ) {
function yith_wcwl_enqueue_back_required_assets() {
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
$version = defined( 'WC_VERSION' ) ? WC_VERSION : '';
wp_enqueue_style( 'woocommerce_prettyPhoto_css', plugins_url( 'assets/css/prettyPhoto.css', WC_PLUGIN_FILE ), array(), $version );
wp_enqueue_script( 'prettyPhoto', plugins_url( 'assets/js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', WC_PLUGIN_FILE ), array( 'jquery' ), '3.1.6', true );
}
add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_back_required_assets', 100 );
}
}
5. Custom Icon Positioning
If the icon appears but not in the desired location, you can reposition it with CSS.
Solution: Use custom CSS to adjust the icon's position. For example, to move it to the top left corner of product images:
.products .product .yith-wcwl-add-to-wishlist {
position: absolute;
z-index: 1;
top: 10px;
left: 10px;
}
Header Wishlist Icon in Free Version
The free version of YITH WooCommerce Wishlist doesn't include a heart icon widget for the header. However, you can:
- Add a custom menu item with a heart symbol (♥)
- Use the shortcode
[yith_wcwl_wishlist_items_count]in an HTML widget - Consult your theme's documentation for adding custom elements to the header
When to Seek Additional Help
If none of these solutions work, the issue might require:
- Consulting your theme's support team (for theme-specific conflicts)
- Checking for plugin conflicts by temporarily disabling other plugins
- Ensuring you're using the latest versions of WordPress, WooCommerce, and the YITH Wishlist plugin
Remember that theme compatibility can vary significantly, and some solutions may require custom CSS tailored to your specific theme's structure.
Related Support Threads Support
-
Styling Problemshttps://wordpress.org/support/topic/styling-problems-3/
-
yith lista de deseoshttps://wordpress.org/support/topic/yith-lista-de-deseos/
-
Woodmart – How to add YITH Wishlist icon in header?https://wordpress.org/support/topic/woodmart-how-to-add-yith-wishlist-icon-in-header/
-
Popup not workinghttps://wordpress.org/support/topic/popup-not-working-71/
-
How to add The Heart-0 icon on the products listed on the front pagehttps://wordpress.org/support/topic/how-to-add-the-heart-0-icon-on-the-products-listed-on-the-front-page/
-
Problems with free version YITH WOOCOMMERCE WISHLISThttps://wordpress.org/support/topic/problems-with-free-version-yith-woocommerce-wishlist/
-
Adding Wishlist heart icon to Elementor / JetEngine product gridhttps://wordpress.org/support/topic/adding-wishlist-heart-icon-to-elementor-jetengine-product-grid/
-
Heart Icon Not Showing Main Page and Single Product Pagehttps://wordpress.org/support/topic/heart-icon-not-showing-main-page-and-single-product-page/
-
Add Heart icon wishlist button aside cart iconhttps://wordpress.org/support/topic/add-heart-icon-wishlist-button-aside-cart-icon/
-
Icon to wishlist in headerhttps://wordpress.org/support/topic/icon-to-wishlist-in-header/
-
YITH wishlist icon for headerhttps://wordpress.org/support/topic/yith-wishlist-icon-for-header/
-
Flatsome + yith wishlisthttps://wordpress.org/support/topic/flatsome-yith-wishlist/
-
YITH Woocommerce wishlist pluginhttps://wordpress.org/support/topic/yith-woocommerce-wishlist-plugin-3/
-
wishlist hearthttps://wordpress.org/support/topic/wishlist-heart/
-
Yith, DIVI & Elementorhttps://wordpress.org/support/topic/yith-divi-elementor/
-
On top of image postioning of wishlist not workinghttps://wordpress.org/support/topic/on-top-of-image-postioning-of-wishlist-not-working/
-
Not visible heart on shop page and carousels Elementorhttps://wordpress.org/support/topic/not-visible-heart-on-shop-page-and-carousels-elementor/
-
Whislist Heart icon doesnt show on top of the producthttps://wordpress.org/support/topic/whislist-heart-icon-doesnt-show-on-top-of-the-product-2/
-
YITH Wishlisthttps://wordpress.org/support/topic/yith-wishlist-3/
-
OceanWP – doubled heart on archive pagehttps://wordpress.org/support/topic/oceanwp-doubled-heart-on-archive-page/
-
flatsome3 + yith wishlisthttps://wordpress.org/support/topic/flatsome3-yith-wishlist/
-
wishlist heart in headerhttps://wordpress.org/support/topic/wishlist-heart-in-header-2/
-
yith wishlist items widget missinghttps://wordpress.org/support/topic/yith-wishlist-items-widget-missing/
-
Placement of Add to wishlist button/iconhttps://wordpress.org/support/topic/placement-of-add-to-wishlist-button-icon/
-
problem with flatsome theme and wishlish yith pluginhttps://wordpress.org/support/topic/problem-with-flatsome-theme-and-wishlish-yith-plugin/
-
yith wishlist icon not workinghttps://wordpress.org/support/topic/yith-wishlist-icon-not-working/
-
Place wishlist icon in product imagehttps://wordpress.org/support/topic/place-wishlist-icon-in-product-image/
-
YITH WooCommerce Wishlist icon not displayedhttps://wordpress.org/support/topic/yith-woocommerce-wishlist-icon-not-displayed/
-
Label is not visiblehttps://wordpress.org/support/topic/label-is-not-visible/
-
Wishlist Icon on Default Woocommerce Product Loophttps://wordpress.org/support/topic/wishlist-icon-on-default-woocommerce-product-loop/
-
Adding wishlist heart icon to header menu barhttps://wordpress.org/support/topic/adding-wishlist-heart-icon-to-header-menu-bar/
-
yith wishlist plugin Heart icon didn’t show after ajax callhttps://wordpress.org/support/topic/yith-wishlist-plugin-heart-icon-didnt-show-after-ajax-call/
-
wishlist icon next to cart buttonhttps://wordpress.org/support/topic/wishlist-icon-next-to-cart-button/
-
[YITH Wishlist] Heart icon free versionhttps://wordpress.org/support/topic/yith-wishlist-heart-icon-free-version/
-
How to enlarge the Heart Iconhttps://wordpress.org/support/topic/how-to-nlarge-the-heart-icon/
-
Wishlist button after add to cart buttonhttps://wordpress.org/support/topic/wishlist-button-after-add-to-cart-button/
-
Heart icon issuehttps://wordpress.org/support/topic/heart-icon-issue/
-
Yith Popup Added to Wishlisthttps://wordpress.org/support/topic/yith-popup-added-to-wishlist-2/
-
Problem with the yith wishlist pluginhttps://wordpress.org/support/topic/problem-with-the-yith-wishlist-plugin/
-
YITH Wishlist Items on headerhttps://wordpress.org/support/topic/yith-wishlist-items-on-header/
-
Yith Wishlist pluginhttps://wordpress.org/support/topic/yith-wishlist-plugin-2/
-
Add to cart heart is not showinghttps://wordpress.org/support/topic/add-to-cart-heart-is-not-showing/
-
No heart icon is shown on product imagehttps://wordpress.org/support/topic/no-heart-icon-is-shown-on-product-image/
-
Wishlist Icon not appearing in Shop & Product Pagehttps://wordpress.org/support/topic/wishlist-icon-not-appearing-in-shop-product-page/
-
Wishlist Icon not showing properlyhttps://wordpress.org/support/topic/wishlist-icon-not-showing-properly/
-
YITH WooCommerce Wishlist does not showhttps://wordpress.org/support/topic/yith-woocommerce-wishlist-does-not-show/