Wishlist King Integration Guide
đź“– Wishlist King helps you to add your favorite products or share the wishlist with your friends. Here is our guide for Wishlist King integration with Boost AI Search & Discovery app.
On this page
About Wishlist King
1
App Information
- Wishlist King save the favorite products across all devices for later purchase.
- App details: https://apps.shopify.com/wishlist-king
2
Wishlist King Integration Function
- Display wishlist heart icon in product item when filtering out the product listing.
How to integrate Wishlist King with Boost AI Search & Discovery
This feature only works with Boost AI Search & Discovery V2 and above. To find out which version of our app your store's current theme is installed with, please follow this article.
From your Shopify admin, go to Online Store > Themes.
Find the theme you'd like to integrate the app and click Actions (⋯) > Edit code.
Select one of the Versions below for the app version that your theme is installed with (if you have not known it, yet, please follow this article to find out): V2 or V3. Then follow its corresponding Step 3.
V2
productGridItemHtml
'{{itemWishlist}}' + // For boost-pfs-filter.js

If the variable productGridItemHtml does not exist in boost-pfs-filter.js, please find it in the file boost-pfs-filter-html.liquid and paste this code snippet instead:
[[itemWishlist]] // For boost-pfs-filter-html.liquid
ProductGridItem.prototype.compileTemplate
// Add main attribute
var itemWishlistHtml = "<!-- include 'wishlist-button-collection' with '" + data.id + "' -->";itemHtml = itemHtml.replace(/{{itemWishlist}}/g, itemWishlistHtml);

V3
if (window.boostSDAppConfig) {
window.boostSDAppConfig.integration = Object.assign({
wishlists: 'king'
}, window.boostSDAppConfig.integration || {});
}
If you encounter any issues during the integration process, please don't hesitate to contact our support team for further assistance at support@boostcommerce.net.