How to enable add to wishlist for collection page

Last Updated 2 years ago

See the below video.

Wishlist For collections block:

/-----------------IWISH 2.0 COLLECTION PAGE AND HOMEPAGE SECTIONS SETUP ------------------/

Step 1 (In code edit)::

"blocks": [

{

"type": "@app"

}

]

{%- for block in section.blocks -%}

{% case block.type %}

{% when '@app' %}

{% render block %}

{% endcase %}

{%- endfor -%}

data-handle="{{ product.handle }}" data-iwish_variant="{{ product.variants.first.id }}" data-iwish_product="{{ product.id }}" data-iwish_pTitle="{{ product.title | escape }}"

iwishAddWrapColl

Step 2 (In customizer)::

-After completing Step 1, you will be able to add the wishlist block.

-Check the Is Collection checkbox.

-Add Filter classes(classes of those elements which are clicked to apply filter) for collection page.


Please Wait!

Please wait... it will take a second!