On product pages
The Wishlist button block goes on your product template.1
Open the theme editor
In Loveful, go to Settings > Storefront and click Open theme editor beside Wishlist button. The theme editor opens your product template with the block added beside the price and variant picker.
2
Place it
Drag the block where you want it in the product section.
3
Save
Click Save in the theme editor.
Changing the look
The block has no settings in the theme editor. Its look is set in Loveful’s design window, on the Button tab:- Show: Text, Icon, or Icon and text
- Icon: Heart, Bookmark or Star, when the button shows an icon
- Full width
- Background, text, border colours and corner radius, plus separate colours Once saved
Hearts on product cards
A heart on each product card lets shoppers save straight from collections, search results and anywhere else your theme shows cards. It comes from the loveful-wishlist snippet, which you add to your theme’s code once.1
Create the snippet
In Loveful, go to Settings > Storefront and click Copy snippet under Product cards and header. In your theme’s code editor, add a new snippet named
loveful-wishlist, paste and save. The ⋯ menu beside Copy snippet has Open code editor and View snippet.2
Add the heart to your product card
Click Copy snippet on the Heart on product cards row. Paste it in your theme’s product card file (often
card-product.liquid), inside the element that wraps the product image, and save.Heart settings
The heart’s look is in the theme editor, under App embeds > Loveful > Product card heart:
For more on the snippet, see Hearts on your product cards.