Skip to Content
Menu
Dette spørgsmål er blevet anmeldt

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
aug. 24
3488
1
maj 23
2882
1
nov. 21
3935
0
aug. 23
194
1
aug. 23
3356