• tomminik

    (@tomminik)


    Hi,
    With css code from forum and short code I just added heart icon to my header. I have one problem to solve. When I click heart icon on product I see information that product is added to wishlist but on heart in header I dont see quantity, I need to refresh page and than I see in header that I habe one, two or more products in wishlist, how can we solve this problem. I’m using free plugin .

    Thx
    Tomek

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tomminik

    (@tomminik)

    I’m using elementor

    Plugin Author YITHEMES

    (@yithemes)

    Hi Tomek

    Actually I think you could update your counter in Ajax, wihout refreshing the page
    Please, give a look at the code suggested in this article from our knowledgebase

    It will help you refresh a counter via ajax any time a product is added or removed from wishlist
    Of course, be sure to change the selector for your counter element

    Thread Starter tomminik

    (@tomminik)

    Hi, thank you I will check and revert. Can you tell me how can I have star instead heart in header?

    Kind Regards
    Tomek

    Plugin Author YITHEMES

    (@yithemes)

    Hi again Tomek

    Do you mean in your header? This depends on how you implemented the counter in the first place, and the icon set that you can use

    For sure wishlist plugin uses FontAwesome 4, so you should be able to add a star icon with the following html code:
    <i class=”fa fa-star-o”>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Problem with heart in header’ is closed to new replies.