Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

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();
        }
    }
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
3485
1
thg 5 23
2879
1
thg 11 21
3934
0
thg 8 23
194
1
thg 8 23
3352