Why Your YITH Wishlist Shows Duplicate Buttons or Content (And How to Fix It)
Content
If you're seeing duplicate 'Add to Wishlist' buttons, product images, or other content appearing twice on your WooCommerce site, you're not alone. This is one of the most common issues reported by users of the YITH WooCommerce Wishlist plugin. The good news is that it's almost always solvable with a few simple steps.
Why Does This Happen?
Based on numerous community reports, this duplication is almost never a direct bug in the YITH WooCommerce Wishlist plugin itself. Instead, it's almost always caused by one of two common conflicts:
- Theme Conflicts: Many popular WooCommerce themes come with their own built-in wishlist functionality. When you activate the YITH plugin, both the theme's wishlist code and the plugin's code can run simultaneously, creating duplicate buttons or content.
- Overridden Templates: Some themes override the plugin's template files (like
wishlist.phporwishlist-view.php) in their own folder. If these custom templates are outdated or conflict with the plugin's current version, they can cause display issues, including duplication.
How to Fix Duplicate Wishlist Content
Solution 1: Change the Button Position Setting (Most Common Fix)
This is the first and easiest step to try. It forces the plugin to only display the wishlist button where you explicitly place a shortcode, preventing automatic additions that might conflict with your theme.
- Go to your WordPress Dashboard.
- Navigate to YITH > Wishlist > Add to Wishlist options.
- Find the setting for "Position of 'Add to wishlist' on product page".
- Change this setting to "Use shortcode".
- Save your changes.
This should immediately remove one of the duplicate buttons if the conflict was caused by the theme and plugin both trying to automatically insert the button.
Solution 2: Disable Your Theme's Built-in Wishlist
If your theme has its own wishlist module (common in themes like Basel, Flatsome, and others), you need to disable it to prevent conflict.
- Look in your Theme Options or Customizer settings.
- Search for a section related to "Wishlist" or "Shop".
- If you find a toggle to enable/disable the theme's wishlist feature, turn it Off.
- Ensure the YITH WooCommerce Wishlist plugin remains active.
Solution 3: Check for Overridden Templates
If content inside the wishlist page (like product titles or thumbnails) is duplicated, your theme may have outdated template files.
- Use your hosting file manager or an FTP client to access your site's files.
- Navigate to /wp-content/themes/your-theme-name/.
- Look for a
woocommercefolder, and inside it, search for any files related to the wishlist, such as:wishlist.phpwishlist-view.php
- If you find them, temporarily rename them (e.g., to
wishlist.php.bak) to force the plugin to use its own default, updated templates.
Warning: Always back up your site before modifying theme files. If renaming these files fixes the issue, you may need to consult your theme developer for updated template files.
Solution 4: Basic Conflict Testing
If the solutions above don't work, a general conflict test can help identify the source of the problem.
- Temporarily switch your theme to a default WordPress theme like Twenty Twenty-Four.
- Clear your cache and check if the duplication is still present.
- If the problem is gone, it confirms the issue is with your regular theme.
- If the problem remains, try disabling other plugins one-by-one to see if a combination of plugins is causing the unexpected behavior.
Conclusion
Duplicate content in your YITH WooCommerce Wishlist is a frustrating but solvable problem. In the vast majority of cases, the solution involves resolving a simple conflict between the plugin and your theme's settings or built-in features. Start with Solution 1, as it is the most common fix. For more persistent issues, the conflict test (Solution 4) is your best tool for identifying the root cause.
Related Support Threads Support
-
Duplicated “Add to wish list button”https://wordpress.org/support/topic/duplicated-add-to-wish-list-button/
-
Variation showing only color and add to cart linking back to producthttps://wordpress.org/support/topic/variation-showing-only-color-and-add-to-cart-linking-back-to-product/
-
wishlist loophttps://wordpress.org/support/topic/wishlist-loop/
-
Add to Wishlist is doubledhttps://wordpress.org/support/topic/add-to-wishlist-is-doubled/
-
Weird empty boxes shown before and after wishlisthttps://wordpress.org/support/topic/weird-empty-boxes-shown-before-and-after-wishlist/
-
Stock statushttps://wordpress.org/support/topic/stock-status-4/
-
Stock status does not workhttps://wordpress.org/support/topic/stock-status-does-not-work/
-
Stock status not working fine on wishlist pagehttps://wordpress.org/support/topic/stock-status-not-working-fine-on-wishlist-page/
-
Wrong product ID on page load.https://wordpress.org/support/topic/wrong-product-id-on-page-load/
-
Products on backorder are showing as in stock on wishlisthttps://wordpress.org/support/topic/products-on-backorder-are-showing-as-in-stock-on-wishlist/
-
Stock and Unit Price support for Bundled Products?https://wordpress.org/support/topic/stock-and-product-support-for-bundled-products/
-
Wish list is showing broken imagehttps://wordpress.org/support/topic/wish-list-is-showing-broken-image/
-
Two buttons where there must be onehttps://wordpress.org/support/topic/two-buttons-where-there-must-be-one/
-
Add to wishlist inside shop loop, wrong id on add to wishlist blockhttps://wordpress.org/support/topic/add-to-wishlist-inside-shop-loop-wrong-id-on-add-to-wishlist-block/
-
BUG : Whishlist in 2 placeshttps://wordpress.org/support/topic/bug-whishlist-in-2-places/
-
Shipping County and County Select2 not Initializing at Checkout (v3.0.18)https://wordpress.org/support/topic/shipping-county-and-county-select2-not-initializing-at-checkout/
-
The wishlist option shows two times on the single product pagehttps://wordpress.org/support/topic/the-wishlist-option-shows-two-times-on-the-single-product-page/
-
Account page rendering twicehttps://wordpress.org/support/topic/account-page-rendering-twice/
-
Wishlist Quantityhttps://wordpress.org/support/topic/wishlist-quantity/
-
wishlist page shows thumbnails twicehttps://wordpress.org/support/topic/wishlist-page-shows-thumbnails-twice/
-
Several questionshttps://wordpress.org/support/topic/several-questions-38/
-
technical issue with the plugin, the wishlist is showing twicehttps://wordpress.org/support/topic/technical-issue-with-the-plugin-the-wishlist-is-showing-twice/
-
Doubling up of images in wishlisthttps://wordpress.org/support/topic/doubling-up-of-images-in-wishlist/
-
The title appears twice on the wish list pagehttps://wordpress.org/support/topic/the-title-appears-twice-on-the-wish-list-page/
-
in wishlist_page, doubled product imagehttps://wordpress.org/support/topic/in-wishlist_page-doubled-product-image/
-
Wishlist display 2 times at product pagehttps://wordpress.org/support/topic/wishlist-display-2-times-at-productsize/