Giỏ hàng
0₫
\n
\n\n
\n\n
\n\n
\n\n\n
","summary":null,"template_layout":null,"available":true,"tags":["3 tầng","ba tầng","bể bơi","bơm hơi","bóng","phao","phao bơi"],"price":233750.0000,"price_min":233750.0000,"price_max":275000.0000,"price_varies":true,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":16127294,"barcode":null,"sku":"BEBOI3T","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":275000.0000,"compare_at_price":0.0000,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null},{"id":19548854,"barcode":null,"sku":null,"title":"(combo)","options":["(combo)"],"option1":"(combo)","option2":null,"option3":null,"available":true,"taxable":false,"price":233750.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},"images":[{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u2-jpg-fc5011db-256b-47ee-b585-2bcfd5b4c99a.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u3-jpg-2f7b5f9d-cb0f-45d2-a3d1-0fe17f0842d6.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u4-jpg-d7403d6a-c8fc-4d0c-8f58-0af8cf478d5d.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u5-jpg-a9164bdd-9339-4f08-afdd-da40928e7de5.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u6-jpg-414fefc4-4f5e-46f8-95fc-ece9cfb96455.jpg?v=1520824569637"}],"options":["Title"],"created_on":"2018-03-12T10:16:09","modified_on":"2018-07-19T08:47:31","published_on":"2018-03-12T10:15: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; i
\n
\n\n
\n\n
\n\n
\n\n\n
","summary":null,"template_layout":null,"available":true,"tags":["3 tầng","ba tầng","bể bơi","bơm hơi","bóng","phao","phao bơi"],"price":233750.0000,"price_min":233750.0000,"price_max":275000.0000,"price_varies":true,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":16127294,"barcode":null,"sku":"BEBOI3T","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":275000.0000,"compare_at_price":0.0000,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null},{"id":19548854,"barcode":null,"sku":null,"title":"(combo)","options":["(combo)"],"option1":"(combo)","option2":null,"option3":null,"available":true,"taxable":false,"price":233750.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},"images":[{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u2-jpg-fc5011db-256b-47ee-b585-2bcfd5b4c99a.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u3-jpg-2f7b5f9d-cb0f-45d2-a3d1-0fe17f0842d6.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u4-jpg-d7403d6a-c8fc-4d0c-8f58-0af8cf478d5d.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u5-jpg-a9164bdd-9339-4f08-afdd-da40928e7de5.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u6-jpg-414fefc4-4f5e-46f8-95fc-ece9cfb96455.jpg?v=1520824569637"}],"options":["Title"],"created_on":"2018-03-12T10:16:09","modified_on":"2018-07-19T08:47:31","published_on":"2018-03-12T10:15:00"}; \n
\n
\n\n
\n\n
\n\n
\n\n\n
","summary":null,"template_layout":null,"available":true,"tags":["3 tầng","ba tầng","bể bơi","bơm hơi","bóng","phao","phao bơi"],"price":233750.0000,"price_min":233750.0000,"price_max":275000.0000,"price_varies":true,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":16127294,"barcode":null,"sku":"BEBOI3T","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":275000.0000,"compare_at_price":0.0000,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null},{"id":19548854,"barcode":null,"sku":null,"title":"(combo)","options":["(combo)"],"option1":"(combo)","option2":null,"option3":null,"available":true,"taxable":false,"price":233750.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},"images":[{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u2-jpg-fc5011db-256b-47ee-b585-2bcfd5b4c99a.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u3-jpg-2f7b5f9d-cb0f-45d2-a3d1-0fe17f0842d6.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u4-jpg-d7403d6a-c8fc-4d0c-8f58-0af8cf478d5d.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u5-jpg-a9164bdd-9339-4f08-afdd-da40928e7de5.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u6-jpg-414fefc4-4f5e-46f8-95fc-ece9cfb96455.jpg?v=1520824569637"}],"options":["Title"],"created_on":"2018-03-12T10:16:09","modified_on":"2018-07-19T08:47:31","published_on":"2018-03-12T10:15:00"}; var strHTML = get_viewed_items_html(current_product); //console.log(current_product); });
\n
\n\n
\n\n
\n\n
\n\n\n
","summary":null,"template_layout":null,"available":true,"tags":["3 tầng","ba tầng","bể bơi","bơm hơi","bóng","phao","phao bơi"],"price":233750.0000,"price_min":233750.0000,"price_max":275000.0000,"price_varies":true,"compare_at_price":0.0000,"compare_at_price_min":0.0000,"compare_at_price_max":0.0000,"compare_at_price_varies":false,"variants":[{"id":16127294,"barcode":null,"sku":"BEBOI3T","title":"Default Title","options":["Default Title"],"option1":"Default Title","option2":null,"option3":null,"available":true,"taxable":false,"price":275000.0000,"compare_at_price":0.0000,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null},{"id":19548854,"barcode":null,"sku":null,"title":"(combo)","options":["(combo)"],"option1":"(combo)","option2":null,"option3":null,"available":true,"taxable":false,"price":233750.0000,"compare_at_price":null,"inventory_management":"","inventory_policy":"deny","inventory_quantity":0,"weight_unit":"kg","weight":0,"requires_shipping":true,"image":null}],"featured_image":{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},"images":[{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u1-jpg-c48b9901-b373-4e81-9f26-f0b854aa4a14.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u2-jpg-fc5011db-256b-47ee-b585-2bcfd5b4c99a.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u3-jpg-2f7b5f9d-cb0f-45d2-a3d1-0fe17f0842d6.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u4-jpg-d7403d6a-c8fc-4d0c-8f58-0af8cf478d5d.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u5-jpg-a9164bdd-9339-4f08-afdd-da40928e7de5.jpg?v=1520824569637"},{"src":"https://bizweb.dktcdn.net/100/060/498/products/ba-n-chie-u6-jpg-414fefc4-4f5e-46f8-95fc-ece9cfb96455.jpg?v=1520824569637"}],"options":["Title"],"created_on":"2018-03-12T10:16:09","modified_on":"2018-07-19T08:47:31","published_on":"2018-03-12T10:15:00"}, onVariantSelected: selectCallback, enableHistoryState: true }); });