Tour du lịch Ngũ Hành Sơn - Hội An 1 ngày sẽ đưa du khách đến với những thiên đường cảnh đẹp của miền Trung, Ngũ Hành Sơn và Phố Cổ Hội An. Gọi Ms. Yến 0977533705
","template_layout":null,"available":true,"tags":[],"price":480000.0000,"price_min":480000.0000,"price_max":480000.0000,"price_varies":false,"compare_at_price":0,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":5709462,"barcode":null,"sku":"DLGD-04","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":480000.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"g","weight":0,"requires_shipping":true,"image":{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"}}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"},"images":[{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"}],"options":["Title"],"created_on":"2016-08-12T10:57:06","modified_on":"2022-01-12T20:51:37","published_on":"2016-08-12T10:44:00"}; // $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; iTour du lịch Ngũ Hành Sơn - Hội An 1 ngày sẽ đưa du khách đến với những thiên đường cảnh đẹp của miền Trung, Ngũ Hành Sơn và Phố Cổ Hội An. Gọi Ms. Yến 0977533705
","template_layout":null,"available":true,"tags":[],"price":480000.0000,"price_min":480000.0000,"price_max":480000.0000,"price_varies":false,"compare_at_price":0,"compare_at_price_min":0,"compare_at_price_max":0,"compare_at_price_varies":false,"variants":[{"id":5709462,"barcode":null,"sku":"DLGD-04","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":480000.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"g","weight":0,"requires_shipping":true,"image":{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"}}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"},"images":[{"src":"https://bizweb.dktcdn.net/100/115/245/products/tour-ngu-hanh-son-hoi-an-1-ngay-handetour.jpg?v=1472550194207"}],"options":["Title"],"created_on":"2016-08-12T10:57:06","modified_on":"2022-01-12T20:51:37","published_on":"2016-08-12T10:44:00"}; var strHTML = get_viewed_items_html(current_product); //console.log(current_product); });