***Lưu ý: Thông số trên có khoảng sai số nhỏ từ 2-3cm tuỳ vào độ co rút của vải áo
ONTOP Tee Basic New Logo-Orange - Mẫu áo thun Basic của local brand ONTOP. Một item phải sở hữu nếu bạn muốn xây dựng cho mình phong cách riêng.
Xem thêm áo thun streetwear ONTOP và đặt hàng ngay tại:
Website: https://ontop.com.vn/
Instagram: https://www.instagram.com/ontop.brand/
Facebook: https://www.facebook.com/ontop.com.vn/
Shopee: http://ontop.com.vn/shopee
Hotline: 0901906116
Xem thêm áo thun streetwear ONTOP và đặt hàng ngay tại:
\nWebsite: https://ontop.com.vn/
\nInstagram: https://www.instagram.com/ontop.brand/
\nFacebook: https://www.facebook.com/ontop.com.vn/
\nShopee: http://ontop.com.vn/shopee
\nHotline: 0901906116
","summary_or_content":"","created_on":"2019-10-10T11:55:25","published_on":"2019-10-21T13:56:00","url":"/ao-thun-nam-dep-local-brand-ontop-orange"}; var variantsize = false; var alias = "ao-thun-nam-dep-local-brand-ontop-orange"; var getLimit = 10; var productOptionsSize = 1; var selectCallback = function(variant, selector){ if (variant){ var form = jQuery('#' + selector.domIdPrefix).closest('form'); for(var i=0,length=variant.options.length; i***Lưu ý: Thông số trên có khoảng sai số nhỏ từ 2-3cm tuỳ vào độ co rút của vải áo
\nONTOP Tee Basic New Logo-Orange - Mẫu áo thun Basic của local brand ONTOP. Một item phải sở hữu nếu bạn muốn xây dựng cho mình phong cách riêng.
\nXem thêm áo thun streetwear ONTOP và đặt hàng ngay tại:
\nWebsite: https://ontop.com.vn/
\nInstagram: https://www.instagram.com/ontop.brand/
\nFacebook: https://www.facebook.com/ontop.com.vn/
\nShopee: http://ontop.com.vn/shopee
\nHotline: 0901906116
","summary_or_content":"","created_on":"2019-10-10T11:55:25","published_on":"2019-10-21T13:56:00","url":"/ao-thun-nam-dep-local-brand-ontop-orange"}, onVariantSelected: selectCallback, enableHistoryState: true }); $('.selector-wrapper:eq(0)').prepend(''); $('.selector-wrapper').css({ 'text-align':'left', 'margin-bottom':'15px' }); }); jQuery('.swatch :radio').change(function() { var optionIndex = jQuery(this).closest('.swatch').attr('data-option-index'); var optionValue = jQuery(this).val(); jQuery(this) .closest('form') .find('.single-option-selector') .eq(optionIndex) .val(optionValue) .trigger('change'); }); function scrollToxx(){ if($(window).width() > 767) { $('html, body').animate({ scrollTop: $('.product-tab.e-tabs').offset().top }, 'slow'); $('.tab-content, .product-tab .tab-link').removeClass('current'); $('#tab-3, .product-tab .tab-link:nth-child(3)').addClass('current'); return false; }else{ $('html, body').animate({ scrollTop: $('.product-tab.e-tabs #tab-3').offset().top }, 'slow'); $('.product-tab.e-tabs #tab-3').addClass('active'); } }; function scrollToxxs(){ $('html, body').animate({ scrollTop: $('.product-tab.e-tabs').offset().top }, 'slow'); return false; }; $('.btn--view-more .less-text').click(function(){ scrollToxxs(); }); if ($(window).width() < 767) { $('.evo-tab-product-mobile .tab-content .evo-product-tabs-header').on('click', function(e){ e.preventDefault(); var $this = $(this); $this.parents('.evo-tab-product-mobile .tab-content').find('.rte').stop().slideToggle(); $(this).parent().toggleClass('active'); return false; }); }; $('.btn--view-more').on('click', function(e){ e.preventDefault(); var $this = $(this); $this.parents('#tab-1').find('.product-well').toggleClass('expanded'); $(this).toggleClass('active'); return false; }); $(document).ready(function ($){ favoritesTypeProduct(); }); function favoritesTypeProduct(){ $.ajax({ type: 'GET', url: '/search?view=product-favorites&query=collections:2693856%20AND%20product_type.filter_key:("Áo thun nam")', success: function(data){ if(data && data.trim() != 'nothing'){ setTimeout(function () { $('.product-page-favorites-wrap').html(data).slick({ dots: false, arrows: true, infinite: false, speed: 300, slidesToShow: 5, slidesToScroll: 2, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 4, slidesToScroll: 4 } }, { breakpoint: 991, settings: { slidesToShow: 3, slidesToScroll: 3 } }, { breakpoint: 767, settings: { slidesToShow: 3, slidesToScroll: 3 } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 2 } } ] }); var nu = $(".product-page-favorites-wrap").find(".ao-thun-nam-dep-local-brand-ontop-orange").attr("data-slick-index"); jQuery(".product-page-favorites-wrap").slick( 'slickRemove', nu); $('.product-page-favorites-wrap').slick('refresh'); awe_lazyloadImage(); evo_swatch(); }, 500); $('.product-page-favorites').removeClass('d-none'); } } }); }; window.favoritesTypeProduct = favoritesTypeProduct; $(document).ready(function ($){ var alias_pro = 'ao-thun-nam-dep-local-brand-ontop-orange'; var array_list = [product]; var list_viewed_pro_old = localStorage.getItem('last_viewed_products'); var last_viewed_pro_new = ""; if(list_viewed_pro_old == null || list_viewed_pro_old == '') last_viewed_pro_new = array_list; else{ var list_viewed_pro_old = JSON.parse(localStorage.last_viewed_products); list_viewed_pro_old.splice(20, 1); for (i = 0; i < list_viewed_pro_old.length; i++) { if ( list_viewed_pro_old[i].alias == alias_pro ) { list_viewed_pro_old.splice(i,1); break; } } list_viewed_pro_old.unshift(array_list[0]); last_viewed_pro_new = list_viewed_pro_old; } localStorage.setItem('last_viewed_products',JSON.stringify(last_viewed_pro_new)); var last_viewd_pro_array = JSON.parse(localStorage.last_viewed_products); var recentview_promises = []; var size_pro_review = last_viewd_pro_array.length; if ( size_pro_review >= 14 ) { size_pro_review = 14; } else { size_pro_review = last_viewd_pro_array.length; } if (size_pro_review < 1 ) { jQuery('.product-page-viewed').addClass('d-none'); }else{ jQuery('.product-page-viewed').removeClass('d-none'); } if (size_pro_review > 0 ) { for (i = 0; i < size_pro_review; i++){ var alias_product = last_viewd_pro_array[i]; if (!!alias_product.alias){ var promise = new Promise(function(resolve, reject) { $.ajax({ url:'/' + alias_product.alias + '?view=item', success: function(product){ resolve(product); }, error: function(err){ resolve(''); } }) }); recentview_promises.push(promise); } } Promise.all(recentview_promises).then(function(values) { $.each(values, function(i, v){ $('.product-page-viewed-wrap').append(v); }); setTimeout(function () { $('.product-page-viewed-wrap').slick({ dots: false, arrows: true, infinite: false, speed: 300, slidesToShow: 5, slidesToScroll: 2, responsive: [ { breakpoint: 1024, settings: { slidesToShow: 4, slidesToScroll: 4 } }, { breakpoint: 991, settings: { slidesToShow: 3, slidesToScroll: 3 } }, { breakpoint: 767, settings: { slidesToShow: 3, slidesToScroll: 3 } }, { breakpoint: 480, settings: { slidesToShow: 2, slidesToScroll: 2 } } ] }); awe_lazyloadImage(); evo_swatch(); }, 500); }); } });