Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

I want to override "update_wishlist_view" function which is defined under website_sale_wishlist module. Here is the function. How can i do that?

   update_wishlist_view: function() {
        if (this.wishlist_product_ids.length > 0) {
            $('#my_wish').show();
            $('.my_wish_quantity').text(this.wishlist_product_ids.length);
        }
        else {
            $('#my_wish').hide();
        }
    }
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
avg. 24
3247
1
maj 23
2684
1
nov. 21
3680
0
avg. 23
194
1
avg. 23
3108