跳至内容
菜单
此问题已终结

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();
        }
    }
形象
丢弃
相关帖文 回复 查看 活动
1
8月 24
3243
1
5月 23
2680
1
11月 21
3674
0
8月 23
194
1
8月 23
3094