跳至內容
選單
此問題已被標幟

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
3358
1
5月 23
2746
1
11月 21
3784
0
8月 23
194
1
8月 23
3206