/* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */

So sánh sản phẩm

 
 
No products added in the compare table.
/* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* 0) { /*icheck_skin = 'none';*/ } var woof_select_type = 'chosen'; var woof_current_values = '[]'; woof_current_values = '{"action":"yith-woocompare-view-table","iframe":"yes","remove_item":"9fdef890a0a6f2496628626367d39280"}'; var woof_lang_loading = "Loading ..."; var woof_lang_show_products_filter = "show products filter"; var woof_lang_hide_products_filter = "hide products filter"; var woof_lang_pricerange = "price range"; var woof_use_beauty_scroll =1; var woof_autosubmit =1; var woof_ajaxurl = "https://www.phucanhstore.com/wp-admin/admin-ajax.php"; /*var woof_submit_link = "";*/ var woof_is_ajax = 0; var woof_ajax_redraw = 0; var woof_ajax_page_num =1; var woof_ajax_first_done = false; var woof_checkboxes_slide_flag = 1; /*toggles*/ var woof_toggle_type = "text"; var woof_toggle_closed_text = "+"; var woof_toggle_opened_text = "-"; var woof_toggle_closed_image = "https://www.phucanhstore.com/wp-content/plugins/woocommerce-products-filter/img/plus.svg"; var woof_toggle_opened_image = "https://www.phucanhstore.com/wp-content/plugins/woocommerce-products-filter/img/minus.svg"; /*indexes which can be displayed in red buttons panel*/ var woof_accept_array = ["min_price", "orderby", "perpage", "onsales","woof_text","min_rating","product_brand","product_visibility","product_cat","product_tag","pa_cong-suat","pa_do-phan-giai","pa_dung-tich","pa_he-dieu-hanh","pa_kich-thuoc-tivi","pa_loai-tivi","pa_mau-sac","pa_nam-ra-mat","pa_san-xuat-tai","pa_thuong-hieu","pa_tien-ich-tv","pa_tinh-trang","fb_product_set","yith_product_brand"]; /*for extensions*/ var woof_ext_init_s = null; woof_ext_init_s = '{"by_onsales":"woof_init_onsales","by_text":"woof_init_text","label":"woof_init_labels"}'; var woof_overlay_skin = "default"; woof_js_after_ajax_done() { jQuery(document).trigger('woof_ajax_done'); } //# sourceURL=woof_front-js-before /* ]]> */ /* */ jQuery( document ).ready( ( $ ) { $( 'a' ).attr( 'target', '_parent' ); // ########## DATA TABLES ############ $.dataTableFunction = () { var t = $( 'table.compare-list' ), dTable; if( t.length && ! t.find('.no-products').length && typeof $.fn.DataTable != 'undefined' && typeof $.fn.imagesLoaded != 'undefined' ) { t.imagesLoaded( (){ dTable = t.DataTable( { 'info': false, 'scrollX': true, 'scrollCollapse': true, 'paging': false, 'ordering': false, 'searching': false, 'autoWidth': false, 'destroy': true, 'fixedColumns': { leftColumns: 1 } }); }); $(window) .off('resize') .off('orientationchange') .on('resize orientationchange', (){ if ( typeof dTable !== 'undefined' ) { dTable.destroy(); $.dataTableFunction(); } }); } }; $.dataTableFunction(); $( document ).on( 'yith_woocompare_render_table yith_woocompare_product_removed', () { $.dataTableFunction(); } ); // add to cart var redirect_to_cart = false, body = $( 'body' ); // close colorbox if redirect to cart is active after add to cart body.on( 'adding_to_cart', ( $thisbutton, data ) { if ( wc_add_to_cart_params.cart_redirect_after_add == 'yes' ) { wc_add_to_cart_params.cart_redirect_after_add = 'no'; redirect_to_cart = true; } } ); body.on( 'wc_cart_button_updated', ( ev, button ) { $( 'a.added_to_cart' ).attr( 'target', '_parent' ); } ); // remove add to cart button after added body.on( 'added_to_cart', ( ev, fragments, cart_hash, button ) { $( 'a' ).attr( 'target', '_parent' ); if ( redirect_to_cart == true ) { // redirect parent.window.location = wc_add_to_cart_params.cart_url; return; } // Replace fragments if ( fragments ) { $.each( fragments, ( key, value ) { $( key, window.parent.document ).replaceWith( value ); } ); } } ); // close window $( document ).on( 'click', 'a.close', ( e ) { e.preventDefault(); window.close(); } ); } );