Header Icon filled with color on adding a product

Created by Subham Choudhury, Modified on Mon, 21 Oct at 4:04 PM by Subham Choudhury

Prerequisite-applicable on all the plans


1. Add the header code to the header file, and ensure the header icon is rendered on the Frontend.


<!--Swym header-->

<a href="#swym-wishlist" class="swym-wishlist">

      <i aria-hidden="true" focusable="false" role="presentation"    class="icon icon-swym-wishlist"></i>

</a>

<span class="swym-hidden-counter"></span>

<!--Swym header-->

Normally add the header like above to the identified header.liquid


2. Create a new file in the Snippets folder called swym-custom.liquid and add the below code to the file.




3. Include the swym-custom.liquid in the theme.liquid file after the swymSnippet in theme.liquid as below.


   {% include 'swym-custom'%}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article