تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2834 أدوات العرض

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
أغسطس 24
3331
1
مايو 23
2739
1
نوفمبر 21
3780
0
أغسطس 23
194
1
أغسطس 23
3191