Giỏ hàng
0₫
\n\n","summary_or_content":"
Quý khách có thể liên hệ qua ZALO hoặc FACEBOOK để tư vấn và đặt hàng 24/7: Hotline 0904.530.998
\n\n \n
\n\n","created_on":"2018-11-20T09:52:47","published_on":"2018-11-09T10:21:00","url":"/giay-the-thao-nu-den-de-trang-size-37-z2-171118-37"}; // $current_product object, ko phải string... if($current_product != null && arrPro[$current_product.id] == null) // null / undefined { arrPro[$current_product.id] = $current_product; sessionStorage.setItem('products_viewed', JSON.stringify( arrPro )); // // saving current index var jsonProIndex = sessionStorage.getItem('products_viewed_indexing'); var arrProIndex = []; if( jsonProIndex != null ) arrProIndex = JSON.parse( jsonProIndex ); arrProIndex.push($current_product.id); sessionStorage.setItem('products_viewed_indexing', JSON.stringify( arrProIndex )); // } var jsonProIndex = sessionStorage.getItem('products_viewed_indexing'); var jsonProducts = sessionStorage.getItem('products_viewed'); var arrProIndex = []; var $strHTML = ''; var $countViewedItem = 0; var $intMaxViewedItems = ''; if($intMaxViewedItems == '') $intMaxViewedItems = 3; else $intMaxViewedItems = parseInt($intMaxViewedItems); if(jsonProIndex != null & jsonProducts != null & $current_product != null ) { //parse indexing, products... arrProIndex = JSON.parse(jsonProIndex); arrPro = JSON.parse( jsonProducts ); // assign count_items = 0; for (i=0; i
\n\n","summary_or_content":"
Quý khách có thể liên hệ qua ZALO hoặc FACEBOOK để tư vấn và đặt hàng 24/7: Hotline 0904.530.998
\n\n \n
\n\n","created_on":"2018-11-20T09:52:47","published_on":"2018-11-09T10:21:00","url":"/giay-the-thao-nu-den-de-trang-size-37-z2-171118-37"}; \n
\n\n","summary_or_content":"
Quý khách có thể liên hệ qua ZALO hoặc FACEBOOK để tư vấn và đặt hàng 24/7: Hotline 0904.530.998
\n\n \n
\n\n","created_on":"2018-11-20T09:52:47","published_on":"2018-11-09T10:21:00","url":"/giay-the-thao-nu-den-de-trang-size-37-z2-171118-37"}; var strHTML = get_viewed_items_html(current_product); //console.log(current_product); });