Skip to Content
Menu
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
Discard
Related Posts Replies Views Activity
1
Aug 24
1773
1
May 23
1465
1
Nov 21
2484
0
Aug 23
194
1
Aug 23
1961