Wishlist
Last updated
Last updated
Edit and style the wishlist icon to match your shop's theme, then preview the selected item to see how it appears in the shop layout.
You can also Preview the item, Before going to the store.
For manually adding the Wishlist Icon block follow the following steps: 1. Here click on Default Product in product.
Here in Template section, click on Add Block and then click on Apps. Here add “Wishlist Product Icon” App.
Preview:
Also Clicking on Wishlist Product Icon, It will open: Using which you can do following things:
Adjust the icon appearance for both "Before Adding" and "After Adding" states.
Select the preferred position for the icon within the shop layout.
Note: The icon in the header block may not work with every theme, as some themes don’t support block rendering. If you need assistance, please reach out to Support.
1. Now If you want See wishlisted products and want to add Icon in header, then,
Preview:
else 2. If you want to add Wishlist View icon as Floating, then > Go to app Embeds > here add Floating Wishlist Icon Preview:
3. If you want You can Add both at a time also.....
>The block will not display immediately; a small code modification is needed. You have to add 5-6 lines of code. > If you're unsure or need help, contact Support—our team is ready to assist you! > Now step 6 for those who know or want to try and add the code.
Note: The following instructions are for those who are developers or would like to try it themselves.
Don't worry, we will Go through it with you every step of the way. It might give you an exciting experience.
You have to Do following steps:
Click on three dots and then click on Edit code
> File name may be "card_product.liquid" or "product.liquid" or maybe else…
In the following example it is "card_product.liquid"
Here Go into card-product and Add the following code into the first div you find.
>Add the following code.. Into first div
bngwl-product-title="{{ card_product.title | escape }}"
bngwl-product-id ="{{ card_product.id }}"
bngwl-product-url="{{card_product.url }}"
bngwl-product-image="{{ card_product.media[1] | image_url: width: 165}}"
bngwl-product-sale-price="{{ card_product.price | money }}"
bngwl-variant-id = "{{ card_product.selected_or_first_available_variant.id }}"
bngwl-variant-name = "{{ card_product.selected_or_first_available_variant.title }}"
After adding the code It will look like this :
And click Save. And Done.
Style According to your theme. using the following.
Now, you are done.
There Search “product or card_product” or where your product is showing. Then in the Snippet Folder Go into that liquid file .
It will first look like this
Now go to the App embeds then enable it For styling..or Placing..where you want Like Top-right, Bottom-right etc you can do that Clicking on collection in app embeds.