Wishlist
Increase engagement and sales on your stores by allowing customers to save their desired products for later purchase.
Sledge provides several widgets you can use to integrate it with your store.
Available widgets :
If you're using Hydrogen
or Next.js
,
make sure to install the @sledge-app/react-wishlist
package first.
npm i @sledge-app/react-wishlist
Badge
Badge is a Wishlist's widget you can use to display your wishlist's total in a small text box or an icon.
Here is a step-by-step guide to adding this widget with block.
- In the Theme Installation, click
Integrate to my theme
onWishlist
option.
- Then click
Add widget to my theme
onAdd wishlist badge
option.
- You will be directed to the Editor, and the Badge will have been added automatically.
- You can customize the Wishlist Badge by click the
Wishlist badge
Block.
- When ready,
Save
your changes.
Trigger
Trigger is a Wishlist's widget you can use to trigger add or remove a wishlist item in an icon.
Here is a step-by-step guide to adding this widget with block.
-
From your Shopify admin, navigate to
Online Store
>Themes
> click theCustomize
button. -
Navigate to the drop-down menu at the top, select
Products
> select a default product.
- Click
+ Add Block
> Searchwishlist trigger
> select theWishlist Trigger
section.
-
You can rearrange Wishlist Trigger by Click and drag the
⋮⋮
icon -
When ready,
Save
your changes.
Button Detail
Button Detail is a Wishlist's widget you can use to trigger add or remove a wishlist item in a button form. Typically used on product detail page.
Here is a step-by-step guide to adding this widget with block.
- In the Wishlist Theme Installation, click
Add widget to my theme
onAdd wishlist button
option.
- You will be directed to the Editor, and the Button Detail will have been added automatically.
- When ready,
Save
your changes.
Widget
Widget is a Wishlist's widget you can use to display list data of user's wishlist.
By default, Sledge provides you a proxy page that links to
https://YOUR-SHOPIFY-STORE.myshopify.com/apps/sledge/wishlist
If you want to create a custom URL for the Wishlist widget as you desire,
you can put a wishlist widget on the new page.
Here is a step-by-step guide to adding this widget to new page.
-
From your Shopify admin, navigate to
Online Store
>Themes
> click theCustomize
button. -
Navigate to the drop-down menu at the top, select
Pages
>+ Create template
.
- For example, you can create a template named
wishlist
and select Based onDefault page
. When ready, you can save the template by clickCreate template
button.
-
Once you've
Created wishlist
template, You will be directed to the Wishlist page editor. -
Click
+ Add Section
> Searchwishlist widget
> Slides toApps
> select theWishlist Widget
.
- You can customize the Wishlist widget by click the
Wishlist Widget
Block.
-
Click
Save
located in the upper-right corner. -
Once you've adding Wishlist Widget, now it's time to
Create a Page
. -
From your Shopify admin, navigate to
Online Store
>Pages
> click theAdd page
button.
- Add a
title
, and select Theme template you created earlier, for example:Wishlist
,
When ready, clickSave
.
- Once you've creating a Wishlist Page, Let's change URL on
Wishlist Badge
.
If you haven't added a
Wishlist badge
yet, look here to see how to add the badge.
- From your Shopify admin, navigate to
Online Store
>Themes
> click theCustomize
button. - Click on your
Wishlist Badge
> ClickURL Wishlist Widget
> SelectPages
> SelectWishlist
- After you've ready, you can simply click
Save
located in the upper-right corner. - You can see the Wishlist page at
https://YOUR-SHOPIFY-STORE.myshopify.com/pages/wishlist
Learn more
Congratulations! Now that you've learned usage of Wishlist widgets, you can start implementing Wishlist into your store.
If your store requires custom layout and custom callback for the widget, you can learn more on how to modify them based on your needs :