Show Wish List In Block

hi my friend.
i have problem with wishlist.
i want to display wishlist in a block . but i'm can't! please help me find a smarty code to display wishlist in a block.
and please help me show "wishlist empty" when nothing is in wishlist.

2019_07_14_16_23_25_Window.png

We have an addon for that

https://www.ecom-labs.com/ready-to-use-add-ons/cs-cart-wish-list-sontent-add-on.html

Hello dear friend, i have tried showing "wishlist" on the Header section, but products in the wishlist never showed up unless I was at the wishlist page; the list at other pages was blank.
Please guide me how can I implement user session and display wishlist for other pages.

Please contact us at our website

https://www.ecom-labs.com/?quote

Please contact us at our website

https://www.ecom-labs.com/?quote

i was send message to your site. but my dear friend please help me here.

i search to wishlist php code, but found nothing...

how is it possible work code in wishlist page? i mean, select a cod that work for my wishlist but not work in another page.

i create a smarty block in header of default layout with under code:

{include file="addons/wishlist/views/wishlist/view.tpl"}

result:

in wishlist page but worked

You should run functions from the view mode in this file for your block

app/addons/wishlist/controllers/frontend/wishlist.php

You should run functions from the view mode in this file for your block

app/addons/wishlist/controllers/frontend/wishlist.php

Hi dear friend, i'm working on wishlist.php file and "show module".
I'll tell you the result. Thanks.

You should run functions from the view mode in this file for your block

app/addons/wishlist/controllers/frontend/wishlist.php

Hi dear friend, i'm working on wishlist.php file and "view mode".
I'll tell you the result. Thanks.

You should run functions from the view mode in this file for your block

app/addons/wishlist/controllers/frontend/wishlist.php

hi friend, can you please give me more detail.

Hire someone to perform this modification for you

Hire someone to perform this modification for you

hi dear friend.

i use $smarty.session.wishlist.products array for show in wishlist in homepage

by:

{foreach from=$smarty.session.wishlist.products item='product'}
    {$product_data = fn_get_product_data($product.product_id, $auth)}
    {assign var="obj_id" value=$product_data.product_id}
    {assign var="obj_id_prefix" value="`$obj_prefix``$product_data.product_id`"}
    {$product.main_pair = $product_data.product_id|fn_get_image_pairs:'product':'M':true:true}
    {include file="common/product_data.tpl" product=$product_data}
    {$product_data.image_pairs}
    .....
{/foreach}

and show wishlist in my block.

for wishlist button in product list and product page. by code:


    
        
      

To check if the product is on the wishlist.
Adds an active class to the button if it is.
They all work, but only when I reload the page.
Is there a way to show the changes in the page, when the wishlist button is clicked, so that the active class button and the product appear in the block without having to reload the whole page?