Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts

Custom White Purple Teal-Black Authentic Throwback Basketball Shorts

build-teal-white-basketball-shorts-purple-shorts-authentic-throwback-white1308-online

$16.39 $19.99
1+
18%Off
$15.59 $19.99
10+
22%Off
$14.99 $19.99
20+
25%Off
$14.39 $19.99
50+
28%Off
$13.99 $19.99
100+
30%Off
$12.99 $19.99
250+
35%Off
$11.99 $19.99
500+
40%Off
$10.99 $19.99
1000+
45%Off
Quantity :
-
1
+
Shipping cost:
--- to --- via ---
More options
Estimated delivery time:
---
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
); $(window.parent.document).find(".topShopCartNumPc").css('display','block'); $(window.parent.document).find(".topShopCartNumPc").html(data.data.num_text); $(window.parent.document).find(".topShopCartNumApp").html(data.data.num_text); } // layer.msg(__('Product added to cart')); popCartSuccess(data.data.data); $('#cart-total').html(data.data.num); // if ($(".quick-view").length > 0) { // $(window.parent.document).find("#topShopCartNum").html(parseInt($(window.parent.document).find("#topShopCartNum").text()) + 1); // } else { // $("#topShopCartNum").html(parseInt($("#topShopCartNum").text()) + 1); // } // facebook-Pixel let currency = $.cookie("currency_code"); let matchResult = $('.price_now').text().match(/\d+\.\d+/); let value = matchResult ? Number(matchResult[0]) : 0; if ('formal' === 'formal' && '2' === '1') { try { fbq('track', 'AddToCart', { content_ids: ['build-teal-white-basketball-shorts-purple-shorts-authentic-throwback-white1308-online'], content_type: 'product', currency: currency, value: Number(value * num), }); console.log("产品详情 Facebook Pixel AddToCart 事件触发"); } catch (e) { console.error("产品详情 Facebook Pixel AddToCart 事件触发失败:", e); } } //googole统计 let item_name = $('.product_title').text(); if ('1' === '1') { gtag("event", "add_to_cart", { currency: currency, value: Number(value * num), items: [ { item_id: sid, item_name: item_name, } ] }); } if ('2' === '1') { //tiktok-Pixel let pixel_data = {}; pixel_data.price = value; pixel_data.num = num; pixel_data.product_id = product_id; pixel_data.title = item_name; addToCartPixel(pixel_data); } } else if (data.code == 201) { layer.msg("Please select specifications and properties."); } else if (data.code == 204) { layer.msg("This product has been taken off the shelves."); } else if (data.code == 100) { layer.msg(__('Your quantity is below the minimum order quantity.')); } else if (data.code == 101) { layer.msg(__("No enough stock.")); } else { layer.msg(data.msg); } }, error: function () { layui.use("layer", function () { layui.layer.close(add_cart_load); }); layer.msg("Request failure."); } }); }) $(".tailorism_spec .quantity_box .reduce_btn").on("click",function(){ let _this = $(this); if (_this.hasClass('disable')) { return;//被锁定了 } let $box = _this.closest(".quantity_box"); let $quantity_num = $box.find(".quantity_num"); let _minnum = parseInt($quantity_num.attr('data-num'), 10) || 1; let _quantity = parseInt($quantity_num.text(), 10) || 1; let step_qty = parseInt($quantity_num.attr("data-step_qty"), 10) || 1; // 限制最小购买数量 let newQuantity = Math.max(_minnum, _quantity - step_qty); if (newQuantity === _minnum && _quantity - step_qty < _minnum) { layer.msg(__('the minimum number of purchases %s.', _minnum)); } $quantity_num.text(newQuantity); $(".cart-style-box .style-box .center .jian").closest("a").find("input").val(newQuantity); $box.find(".add_btn").removeClass("disable"); if (newQuantity <= _minnum) { _this.addClass("disable"); } else { _this.removeClass("disable"); } }); $(".tailorism_spec .quantity_box .add_btn").on("click",function(){ let _this = $(this); if (_this.hasClass('disable')) { return;//被锁定了 } let $box = _this.closest(".quantity_box"); let $quantity_num = $box.find(".quantity_num"); let _maxnum = parseInt($quantity_num.attr('data-maxnum'), 10) || 0; let _quantity = parseInt($quantity_num.text(), 10) || 1; let _total = parseInt($quantity_num.attr('data-stock'), 10) || 0; let stock_trace = parseInt($quantity_num.attr("data-stock_trace"), 10) || 2; let out_stock_status = parseInt($quantity_num.attr("data-out_stock_status"), 10) || 1; let step_qty = parseInt($quantity_num.attr("data-step_qty"), 10) || 1; // ===== 计算新数量 ===== let newQuantity = _quantity + step_qty; // 限制最大购买数量 if (_maxnum > 0 && newQuantity >= _maxnum) { layer.msg(__('The maximum number of purchases %s', _maxnum)); newQuantity = _maxnum; } // ===== 库存限制 ===== if (stock_trace === 1 && out_stock_status !== 1 && newQuantity > _total) { newQuantity = _total; } if ( (_maxnum > 0 && newQuantity >= _maxnum) || (stock_trace === 1 && out_stock_status !== 1 && newQuantity >= _total) ) { _this.addClass("disable"); } else { _this.removeClass("disable"); } $quantity_num.html(newQuantity);// ===== 更新数量 ===== $(".cart-style-box .style-box .center .jia").closest("a").find("input").val(newQuantity); $box.find(".reduce_btn").removeClass("disable"); }); $(document).ready(function() { var $numberInput = $('.quantity_num'); // 处理键盘按下事件,允许数字输入(包括主键盘区和小键盘) $numberInput.on('keydown', function(event) { var keyCode = event.keyCode || event.which; // 允许数字键(主键盘区和小键盘)、退格键、删除键、左右方向键 if ( ((keyCode >= 48 && keyCode <= 57) || // 主键盘数字 (keyCode >= 96 && keyCode <= 105)) || // 小键盘数字 keyCode === 8 || // Backspace keyCode === 46 || // Delete keyCode === 37 || // Left arrow keyCode === 39 // Right arrow // 可能还需考虑其他特殊情况,如Ctrl+V等复制粘贴操作 ) { $numberInput.parents(".quantity_box").find(".reduce_btn").removeClass("disable"); return true; } else { event.preventDefault(); return false; } }); // 处理输入变化,移除非数字字符 $numberInput.on('input', function() { var currentValue = $(this).text(); var numericValue = currentValue.replace(/[^\d]/g, ''); // 移除非数字字符 if (currentValue !== numericValue) { $numberInput.parents(".quantity_box").find(".reduce_btn").removeClass("disable"); $(this).text(numericValue); // 更新内容为纯数字 } }); $numberInput.on('blur', function() { let $num = $(this); let $box = $num.closest(".quantity_box"); let $add = $box.find(".add_btn"); let $reduce = $box.find(".reduce_btn"); let quantity = parseInt($num.text(), 10) || 0; let minnum = parseInt($num.attr("data-num"), 10) || 1; let maxnum = parseInt($num.attr("data-maxnum"), 10) || 0; let total = parseInt($num.attr("data-stock"), 10) || 0; let stockTrace = parseInt($num.attr("data-stock_trace"), 10) || 0; let outStockStatus = parseInt($num.attr("data-out_stock_status"), 10) || 0; let step = parseInt($num.attr("data-step_qty"), 10) || 1; // ===== 空值处理 ===== if (quantity <= 0) { quantity = minnum; } // ===== 最小限制 ===== if (quantity < minnum) { quantity = minnum; } // ===== 库存限制 ===== if (stockTrace === 1 && outStockStatus !== 1 && quantity > total) { quantity = total; } // ===== 最大购买限制 ===== if (maxnum > 0) { // 计算真实最大合法值 if (maxnum < minnum) { quantity = maxnum; } else { var realMax = minnum + Math.floor((maxnum - minnum) / step) * step; if (quantity > realMax) { quantity = realMax; } } } else { // ===== 向下对齐 step ===== quantity = minnum + Math.floor((quantity - minnum) / step) * step; } // ===== 依然负值处理 ===== if (quantity <= 0) { quantity = 1; } // 更新数量 $num.text(quantity); $(".cart-style-box .style-box .center input").val(quantity); // ===== 更新按钮状态 ===== if (quantity <= minnum) { $reduce.addClass("disable"); } else { $reduce.removeClass("disable"); } if ( (maxnum > 0 && quantity >= maxnum) || (stockTrace === 1 && outStockStatus !== 1 && quantity >= total) ) { $add.addClass("disable"); } else { $add.removeClass("disable"); } }); }); $(".wholesale_wrap .item").on("click",function(){ var _this = $(this); _this.siblings().removeClass("current"); if(_this.hasClass("current")){ _this.removeClass("current"); }else{ _this.addClass("current"); } }); $(".tailorism_spec .sku_item").on("click",function(e, from){ var _this = $(this); if (_this.hasClass('no_click')) { return;//不可点击 } // 切换移除视频 // if (_this.hasClass('prohibit')) { // return;//被锁定了 // } // 主属性关联主图 if (from == null) { $(".tailorism_info .topimg_wrap .player_box").hide(); main_image(_this.attr('data-value')); } _this.siblings().removeClass("checked"); _this.parents(".tailorism_spec").find(".checked_txt").html(""); _this.addClass("checked"); _this.parents(".tailorism_spec").find(".checked_txt").html(_this.attr('title')); $("#lastclickspec").attr('data-src', _this.attr("data-src")); if (_this.parents(".tailorism_spec").hasClass("tailorism_spec_tile")) { return; } // step 1 let spec_ids = _getSpecId(); // let spec_num = 0; if (spec_ids.length == spec_num) { if (from == null) { ajaxsku('spec'); } } var all_ids = filterAttrs(spec_ids); //已经选择了的规格 let $_sel_goods_attr = $('#spec .sku_item.checked').parents('.sku_box'); let $other_notsel_attr = $('#spec').find('.sku_box').not($_sel_goods_attr); $other_notsel_attr.each(function () { set_block($(this), all_ids); }); //step 2 $_sel_goods_attr.each(function () { update_2($(this)); }); // if(_this.hasClass("checked")){ // _this.removeClass("checked"); // _this.parents(".tailorism_spec").find(".checked_txt").html(""); // let spec_ids = _getSpecId(); // if (spec_ids.length == 0) { // $('#spec .sku_item').each(function () { // $(this).removeClass('prohibit'); // }); // } // } return false; }); let spec_sku_one = ["0"]; $.each(spec_sku_one, function (k2, v2) { $(".tailorism_spec .sku_item[data-value='" + v2 + "']").trigger("click", ['trigger']); $(".tailorism_spec .select_dropdown_list li[data-value='" + v2 + "']").trigger("click", ['trigger']); }); cartStyleTitle(spec_sku_one); // image_title页面 自动播放youtube if ($(".tailorism_info_left_imgs_type3 #yutube_video").length > 0) { let video_id = $("#yutube_video").attr('data-video_id'); let is_video_cover = $("#yutube_video").attr('data-is_video_cover'); if (youtube_paly == 1 || is_video_cover == 0) { youtubeAutoPlay(video_id); } } }); //已选择的节点数组 function _getSpecId() { var list = []; $("#productDetailsForm #spec .spec-shuxing").each(function (index, item) { //判断下面有class sku_box 就是选择按钮 sku_select_box 就是选择 if ($(item).find(".sku_box").length > 0) { //判断有sku_box 就取sku_box let value = $(item).find(".sku_box").find('.sku_item.checked').attr("data-value"); if (value != undefined) { list.push(value); } } else { //没有就取sku_select_box let value = $(item).find(".sku_select_box .selected .checked_txt").attr("data-value"); if (value != undefined) { list.push(value); } } }); return list; } // 根据已经选择得属性值,得到余下还能选择的属性值 function filterAttrs(ids) { var products = filterProduct(ids); var result = []; $(products).each(function (k, v) { result = result.concat(v.split(',')); }); return result; } //获取所有包含指定节点的路线 function filterProduct(ids) { let sku_list = ["0"]; var result = []; $(sku_list).each(function (k, v) { _attr = ',' + v + ','; _all_ids_in = true; for (k in ids) { if (_attr.indexOf(',' + ids[k] + ',') == -1) { _all_ids_in = false; break; } } if (_all_ids_in) { result.push(v); } }); return result; } function set_block($goods_attr, all_ids) { $goods_attr.find('.sku_item').each(function (k2, li2) { if ($.inArray($(li2).attr('data-value'), all_ids) == -1) { $(li2).addClass('prohibit'); } else { $(li2).removeClass('prohibit'); } }); } //step 2 function update_2($goods_attr) { // 若该属性值 $li 是未选中状态的话,设置同级的其他属性是否可选 var select_ids = _getSpecId(); var $sku_item = $goods_attr.find('.sku_item.checked'); var select_ids2 = del_array_val(select_ids, $sku_item.attr('data-value')); var all_ids = filterAttrs(select_ids2); set_block($goods_attr, all_ids); } function del_array_val(arr, val) { //去除 数组 arr中的 val ,返回一个新数组 let array = []; for (k in arr) { if (arr[k] != val) { array.push(arr[k]); } } return array; } //cart-style-title edit function cartStyleTitle(spec_id) { let cartStyleText = ""; $.each(spec_id, function (k2, v2) { // $(".tailorism_spec .sku_item[data-value='" + v2 + "']").trigger("click", ['trigger']); let spec_title = $(".tailorism_spec .sku_item[data-value='" + v2 + "']").attr('title'); let parent_id = $(".tailorism_spec .sku_item[data-value='" + v2 + "']").attr("data-parent_id"); if (spec_title) { $(`.cart-style-box .style-box .center .spec${parent_id}`).find('.spec_value').html(spec_title); cartStyleText = cartStyleText + "/" + spec_title; } }); $(".cart-style-box .style-box3 .left .text").html(cartStyleText.substring(1)); } //ajax调取运费 function ajaxFreight() { let product_id = $("#product_id").val(); let type = $("#product_type").val(); let sku_id = $("#sku_id").val(); let num = $(".quantity_num").attr("data-num"); if (type == 4) { num = 1; } let country = $("#ship #freight_country").attr("data-val"); if(!country){ country = ''; //根据ip获取国家 $.ajax({ type: "POST", url: "//www.teamcheap.com/alone/index/getCurrentCountry", data: {}, dataType: 'JSON', async: false, success: function (data) { if (data.code == 200) { $('#country').val(data.data); $("#ship #freight_country").attr("data-val", data.data) country = data.data; } } }); } let custom_attributes_price = attr_make_price(); $.ajax({ type: "POST", url: "//www.teamcheap.com/product/Index/ajaxFreight", data: { 'product_id': product_id, 'type': type, 'sku_id': sku_id, 'num': num, 'country': country, 'custom_attributes_price':custom_attributes_price }, dataType: 'JSON', success: function (data) { if (data.code == 200) { $("#ship #freight_country").text(data.data.state); $("#ship #freight_price").text(data.data.money); $("#ship #freight_name").text(data.data.dhl_name); $("#shipping").val(data.data.m_freight_setting_id); setShippingTime(data.data.shipping_time); }else{ if(data.code == 400 && data.msg == 'freight empty'){ if($(".freight_check_item").length > 0){ $(".freight_check_item").click(); }else{ let _country = $('#country').val() let _country_text = ''; $.ajax({ type: "POST", url: "//www.teamcheap.com/product/index/dhlCountryData", data: {}, dataType: 'JSON', async: true, success: function (data) { if (data.code == 200) { $.each(data.data, function (k, v) { if ( $('#country').val() == v.abbreviation) { _country_text = v.name; } }); $("#freight_country").attr("data-val", _country).html(_country_text); } } }); } } } } }); } // 设置运费时效 function setShippingTime(shipping_time) { if (shipping_time !== "") { $("#ship #freight_time").parents('.freight_item').show(); $("#ship #freight_time").html(shipping_time); } else { $("#ship #freight_time").parents('.freight_item').hide(); } } //定制属性已经选择的价格总和 function attr_make_price() { //有价格的 下拉,多图,多图+文本 var price = 0; var list = $(".attr-price"); for (var i = 0; i < list.length; i++) { if (list[i].value) { var price_val = list[i].value; price = parseFloat(price) + parseFloat(price_val); } } return price; } /******************************************************ajaxaku*******************************************************************/ //详情页最重要方法!!!!!! function ajaxsku(source,variant) { //需要数据 产品id 产品规格属性, 定制属性价格, type商品类型 let product_id = $("#product_id").val(); //normal 普通 - 1 | groupbuy 团购 - 4 | timedspike 秒杀 - 3 | wholesale 批发 - 6 | spellgroup 拼团 - 8 let product_type = $("#product_type").val(); let type = 3; //1-秒杀 2-团购 3-普通 4-批发 5-拼团 //转换成sku接口可用的type switch (product_type) { case '4': type = 2; break; case '3': type = 1; break; case '6': type = 4; break; case '8': type = 5; break; } let get_price = attr_make_price(); let values = []; $("#spec .spec-shuxing").each(function (index, item) { //判断下面有class sku_box 就是选择按钮 sku_select_box 就是选择 if ($(item).find(".sku_box").length > 0) { //判断有sku_box 就取sku_box values.push($(item).find(".sku_box .sku_item.checked").attr("data-value")); } else { //没有就取sku_select_box values.push($(item).find(".sku_select_box .selected .checked_txt").attr("data-value")); } // values.push($(item).find(".sku_box .sku_item.checked").attr("data-value")); }); cartStyleTitle(values); let re_num = 1;//不刷新数量 if (type == 'attr') { type = 3; re_num = 2;//刷新数量 } $.ajax({ type: "POST", url: "//www.teamcheap.com/product/Index/ajaxSkuKsh", timeout:30000, data: {id: product_id, product_spec_value_id: values, attr_price: get_price, type: type, variant:variant}, success: function (data) { if (data.code == 200) { // if (source) { let is_video = $(".is_video").val(); let img_replace = $(".img_replace").val(); if (data.data.thumb != '') { let spec_img = data.data.thumb; if(is_video == 1 && img_replace == 2){ $(".detailInfoImgBox .topimg_wrap").find('iframe').remove(); $(".detailInfoImgBox .topimg_wrap .magnifier").show(); } $(".detailInfoImgBox .topimg_wrap .magnifier img").attr("src", spec_img); $(".detailInfoImgBox .topimg_wrap .magnifier_bigimg").attr("src", spec_img); } else { let spec_src = $('#lastclickspec').attr("data-src"); if (spec_src != '') { if(is_video == 1 && img_replace == 2){ $(".detailInfoImgBox .topimg_wrap").find('iframe').remove(); $(".detailInfoImgBox .topimg_wrap .magnifier").show(); } $(".detailInfoImgBox .topimg_wrap .magnifier img").attr("src", spec_src); $(".detailInfoImgBox .topimg_wrap .magnifier_big img").attr("src", spec_src); } } // } $(".img_replace").val(2); //不知道这个3是干啥的,没理解先拿过来 if (data.data == 3) { return false; } //赋值skuid(无论啥 都需要赋值) $("#sku_id").val(data.data.sku_id); if ((data.data.sku_id !='' || data.data.sku_id != 0) && show_variant == 1) { // 获取当前URL var url = window.location.href; // 解析URL为对象 var params = new URLSearchParams(url.split('?')[1]); // 设置或更改参数 params.set('variant', data.data.sku_id); // 构建新的URL var newUrl = url.split('?')[0] + '?' + params.toString(); // 更新浏览器地址栏,而不重新加载页面 history.pushState({}, '', newUrl); } //修改价格(原价) if (data.data.discount_price != '') { $("#price .no_wholesale .price_before").html(data.data.price); $("#price .no_wholesale .price_now").attr('data-price', data.data.org_discount_price); } else { $("#price .no_wholesale .price_now").attr('data-price', data.data.org_price).html(data.data.price); $("#price .no_wholesale .price_before").html(''); } if(data.data.status != 1) { //sku下架 //需要的操作如下 //1 产品加减数量置灰,不可用 //3 购买,加入购物车按钮置灰,不可用(批发的也是如此) //4 修改数量 shopButtonHide(data, re_num, type); } else { var stock_html = ''; //sku正常 switch (type) { case 1: if (data.data.discount_price != '') { $("#price .no_wholesale .price_now").html(data.data.discount_price); } //秒杀 if (data.data.stock <= 0 || data.data.time_is_buy !== true) { //不可购买(按钮置灰,倒计时清空Expired) shopButtonHide(data, re_num, type); //未开始修改为buy now 置灰 if (data.data.time_is_buy == 2) { $('.ksh-sold-out').text(__('BUY NOW')); } } else { //可购买 (按钮,倒计时恢复) shopButtonShow(data, re_num, type); } //修改events内容 if ($('.product_activity_btn .off-tip').length > 0) { let container = $('.product_activity_btn .off-tip'); container.empty(); container.append(data.data.off_text); } $('.product_activity_btn .progress_bar .progress').css('width', data.data.progress + '%'); // 展示库存数 if (is_show_stock_num) { if (quantity_input_style == 'short') { $('.tailorism_spec .quantity_box_wrap .stock').html(__('%s in stock', toThousands(data.data.stock))); } if (quantity_input_style == 'long') { $('.tailorism_spec .quantity_title .f_right .total').html(__('%s in stock', toThousands(data.data.stock))); } } else { $('.tailorism_spec .quantity_title .f_right .total').html(''); $('.tailorism_spec .quantity_box_wrap .stock').html(''); } //秒杀不展示到货通知 $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); break; case 2: //团购 $(".cart-style-box .style-box .price1").html(data.data.discount_price); $(".cart-style-box .style-box .price2").html(data.data.price); if (data.data.discount_price != '') { $("#price .no_wholesale .price_now").html(data.data.discount_price); } //修改库存 if (data.data.stock <= 0 || data.data.time_is_full !== true) { //不可购买(按钮置灰,倒计时清空Expired) shopButtonHide(data, re_num, type); //未开始修改为buy now 置灰 if (data.data.time_is_full == 2) { $('.ksh-sold-out').text(__('BUY NOW')); } } else { //可购买 (按钮,倒计时恢复) shopButtonShow(data, re_num, type); } //团购不展示到货通知 $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); break; case 3: //普通 //修改价格(折扣价) $(".cart-style-box .style-box .price1").html(data.data.discount_price); $(".cart-style-box .style-box .price2").html(data.data.price); if (data.data.discount_price != '') { $("#price .no_wholesale .price_now").html(data.data.discount_price); } // 预售商品 状态1和3的时候购买状态=普通产品 let time_state = $('.time_state').val(); // 更新页面绑定的数据 $(".quantity_num").attr({ "data-stock_trace": data.data.stock_trace, "data-out_stock_status": data.data.out_stock_status, "data-stock": data.data.stock, "data-num": data.data.min_buy_num, }); if (data.data.stock_trace == 1 && (time_state == 3 || time_state == 1 || time_state == undefined)) { if (data.data.stock > 0) { // 有库存,直接可以购买 shopButtonShow(data, re_num, type); // 库存追踪,显示库存提示 if (is_show_stock_num) { stock_html = __('%s in stock', toThousands(data.data.stock)); } else { stock_html = ''; } } else { // 开启库存追踪 switch (data.data.out_stock_status) { case 1: // 预定,可以购买 shopButtonShow(data, re_num, type); // 库存追踪,显示库存提示 stock_html = __('pre-order'); break; case 2: // 不可购买,缺货 shopButtonHide(data, re_num, type); stock_html = __('out-of-stock'); break; case 3: // 下架 shopButtonHide(data, re_num, type); stock_html = ''; break; default: shopButtonShow(data, re_num, type); } } } else { shopButtonShow(data, re_num, type); //库存追踪关闭 stock_html = ''; } //预售管理的状态 1 进行中 2 未开始 3结束 if (time_state == 2) { shopButtonHide(data, re_num, type); // 未开始 $('.ksh-sold-out').text(__('BUY NOW')); //不展示到货通知 $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); } if (quantity_input_style == 'short') { $('.tailorism_spec .quantity_box_wrap .stock').html(stock_html ?? ''); } if (quantity_input_style == 'long') { $('.tailorism_spec .quantity_title .f_right .total').html(stock_html ?? ''); } break; case 4: // 更新页面绑定的数据 // $(".quantity_num").attr("data-stock_trace", data.data.stock_trace); // $(".quantity_num").attr("data-out_stock_status", data.data.out_stock_status); // $(".quantity_num").attr("data-stock", data.data.stock); // $(".quantity_num").attr("data-num", data.data.min_buy_num); updateWholesalePrice(data.data.wholesale_price, data.data.price); //批发 if (data.data.stock_trace == 1) { if (data.data.stock > 0) { // 有库存,直接可以购买 //shopButtonShow(data, re_num, type); // 库存追踪,显示库存提示 stock_html = __('%s in stock', toThousands(data.data.stock)); } else { // 开启库存追踪 switch (data.data.out_stock_status) { case 1: // 预定,可以购买 //shopButtonShow(data, re_num, type); // 库存追踪,显示库存提示 stock_html = __('pre-order'); break; case 2: // 不可购买,缺货 //shopButtonHide(data, re_num, type); stock_html = __('out-of-stock'); break; case 3: // 下架 //shopButtonHide(data, re_num, type); stock_html = ''; break; default: //shopButtonShow(data, re_num, type); } } } else { //shopButtonShow(data, re_num, type); //库存追踪关闭 stock_html = ''; } //批发不展示到货通知 $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); if (quantity_input_style == 'short') { $('.tailorism_spec .quantity_box_wrap .stock').html(stock_html); } if (quantity_input_style == 'long') { $('.tailorism_spec .quantity_title .f_right .total').html(stock_html); } if (multi_spec_multi_set_attr == 1) { $('.one-stock').html(stock_html); } if (multi_spec_multi_set_attr == 1) { let $specTileList = $(".tailorism_spec_tile .table tr"); let sku_list = collectMultiSpecMultiSetAttr(); $specTileList.each((index, item) => { let sku_id = sku_list.sku_id; let set_attr_sku_id = $(item).attr('data-set_attr_sku_id'); let sku_id_new = `${sku_id},${set_attr_sku_id}`; $(item).attr('data-customize', sku_id_new); $(item).attr('data-sku_id', sku_id_new); // 规格属性 let spec_name = sku_list?.spec_name?.join('+') ?? ''; let set_attr_all_name = $(item).attr('data-set_attr_all_name'); let all_name = `${spec_name}+${set_attr_all_name}`; $(item).attr('data-all_name', all_name); $(item).attr('data-is_spec', is_spec); let num = $(`.tailorism_spec_tile_hide .item[data-sku_id='${sku_id_new}']`) ?.attr('data-num') ?? 0; $(item).find('.wholesale_spec_quantity_num').text(num); }); } break; case 5: //拼团 // 修改价格(折扣价) $("#price .no_wholesale .price_now").html(data.data.discount_price); //购买数量更新 // $('.tailorism_spec .quantity_box .quantity_num').html(data.data.stock); if (data.data.stock <= 0 || data.data.time_is_buy == false) { //不可购买(按钮置灰,倒计时清空Expired) } else { //可购买 (按钮,倒计时恢复) } //拼团不展示到货通知 $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); $('#buy .ksh-btn-buy').closest('.shopping_btn').hide(); $('#buy .ksh-sold-out').closest('.shopping_btn').hide(); break; } $('.tailorism_spec .quantity_box .quantity_num').attr("data-stock", data.data.stock); let product_name = $(`#productDetailsForm #title`).html(); let tiktok_value = numberFormatStr($("#price .no_wholesale .price_now").attr('data-price')); productDetailsPixel(product_name, tiktok_value, data.data.product_id, data.data.min_buy_num); ajaxFreight(); } } else if(data.code == 402) { if (type == 4) { updateWholesalePrice(data.data.wholesale_price, 0); return false; } $("#price .no_wholesale .price_now").html('From ' + data.data.min_price); $("#price .no_wholesale .price_before").html(''); $(".quantity_num").attr({ "data-stock_trace": 1, "data-out_stock_status": 2, "data-stock": 0, "data-num": data.data.min_buy_num, }); if (quantity_input_style == 'short') { $('.tailorism_spec .quantity_box_wrap .stock').html(__('%s in stock', 0)); } if (quantity_input_style == 'long') { $('.tailorism_spec .quantity_title .f_right .total').html(__('%s in stock', 0)); } shopButtonHide(data, 0, 3); if (source) { let spec_src = $('#lastclickspec').attr("data-src"); if (spec_src != '') { let is_video = $(".is_video").val(); let img_replace = $(".img_replace").val(); if(is_video == 1 && img_replace == 2){ $(".detailInfoImgBox .topimg_wrap").find('iframe').remove(); $(".detailInfoImgBox .topimg_wrap .magnifier").show(); } $(".detailInfoImgBox .topimg_wrap .magnifier img").attr("src", spec_src); $(".detailInfoImgBox .topimg_wrap .magnifier_big img").attr("src", spec_src); } } } } }); } /** * 每隔三位一个逗号 * @param num * @returns {string} */ function toThousands(num) { var num = (num || 0).toString(), result = ''; while (num.length > 3) { result = ',' + num.slice(-3) + result; num = num.slice(0, num.length - 3); } if (num) { result = num + result; } return result; } /******************************************************ajaxaku*******************************************************************/ function shopButtonHide(data, re_num, type) { $(".cart-style-box .jia").attr('disabled', true); $(".cart-style-box .jian").attr('disabled', true); $(".cart-style-box .style-box .center .jia").closest("a").find("input").val(data.data.min_buy_num); $(".cart-style-box .style-box .right .cart-btn").addClass("gray"); $("#productDetailsForm :input[name=sku_id]").val(data.data.sku_id); $(".quantity_box .add_btn").addClass('disable'); if(type == 3) { $('#buy .ksh-btn-cart').closest('.shopping_btn').hide(); $('#buy .ksh-btn-paypal').closest('.shopping_btn').hide(); } $('#buy .ksh-btn-buy').closest('.shopping_btn').hide(); $('#buy .ksh-arrival_notice').closest('.shopping_btn').show(); $('#buy .btn_disable').closest('.shopping_btn').hide(); $('#buy .ksh-sold-out').closest('.shopping_btn').show(); $('#buy .ksh-sold-out').text(__('SOLD OUT')); // $('#buy').prepend(`
SOLD OUT
`) } function shopButtonShow(data, re_num, type) { $(".cart-style-box .jia").attr('disabled', false); $(".cart-style-box .jian").attr('disabled', false); $(".cart-style-box .style-box .right .cart-btn").removeClass("gray"); $(".cart-style-box .style-box .center .jia").closest("a").find("input").val(data.data.min_buy_num); $("#productDetailsForm :input[name=sku_id]").val(data.data.sku_id); $(".quantity_box .add_btn").removeClass('disable'); if(type == 3) { if ($('#buy .ksh-btn-cart').closest('.shopping_btn').data('display') == 1) { $('#buy .ksh-btn-cart').closest('.shopping_btn').show(); } var is_limit = "0"; if (is_limit == 0) { $('#buy .ksh-btn-paypal').closest('.shopping_btn').show(); } } if ($('#buy .ksh-btn-buy').closest('.shopping_btn').data('display') == 1) { $('#buy .ksh-btn-buy').closest('.shopping_btn').show(); } $('#buy .btn_disable').closest('.shopping_btn').hide(); $('#buy .ksh-sold-out').closest('.shopping_btn').hide(); $('#buy .ksh-sold-out').text(__('BUY NOW')); $('#buy .ksh-arrival_notice').closest('.shopping_btn').hide(); if (re_num == 1) { $(".quantity_num").text(data.data.min_buy_num); var maxnum = parseInt($(".quantity_num").attr('data-maxnum')); if (maxnum == 0 || maxnum > data.data.min_buy_num) { $(".quantity_box .add_btn").removeClass('disable'); } else { $(".quantity_box .add_btn").addClass('disable'); } } } function updateWholesalePrice(dataArray, org_price) { var container = $('#wholesale_price'); container.empty(); if (Array.isArray(dataArray) && dataArray.length > 0) { $.each(dataArray, function(index, item) { var html = '
'; html += '' + item.currency_price + ''; html += '' + org_price + ''; html += '
'; html += '' + item.num_text + ''; html += '
' + item.off + '
'; html += '
'; html += '
'; container.append(html); }); $(".quantity_box .wholesale_add_btn").removeClass('disable'); $(".quantity_box .wholesale_quantity_num").attr('contenteditable', true); $(".quantity_box .wholesale_reduce_btn").removeClass('disable'); $(".wholesaleBuyNow").removeClass('btn_disable'); $("#wholesaleBuyNowMorePay").removeClass('btn_disable'); $(".wholesaleCart").removeClass('btn_disable'); } else { var html = '
'; html += '

'; html += '
'; container.append(html); $(".quantity_box .wholesale_add_btn").addClass('disable'); $(".quantity_box .wholesale_reduce_btn").addClass('disable'); $(".quantity_box .wholesale_quantity_num").attr('contenteditable', false); $(".wholesaleBuyNow").addClass('btn_disable'); $("#wholesaleBuyNowMorePay").addClass('btn_disable'); $(".wholesaleCart").addClass('btn_disable'); } } var customStyle = "1"; function getCustom() { let product_id = $("#product_id").val(); let viewhtml_type = "formal"; $.ajax({ type: "POST", url: "//www.teamcheap.com/product/index/getCustom", data: {product_id:product_id, viewhtml_type:viewhtml_type}, dataType: 'JSON', async: false, success: function (data) { if (data.code == 200 && data.data) { $.each(data.data, function(key, val){ let img = val.image ? `${val.imgAlt}` : '' $(".product_custom_box").eq(key).find(".product_custom_title").find(".title-box").html(` ${img} ${val.title ? `<${val.title_type||'div'} class="customize-title">${val.title}` : ''} `); if(!img && !val.title && customStyle == 2) { $(".product_custom_box").eq(key).find(".product_custom_title").hide() } $(".product_custom_box").eq(key).find(".product_custom").html(val.content); }) } } }); } getCustom(); function getTagroup() { let product_id = $("#product_id").val(); let viewhtml_type = "formal"; $.ajax({ type: "POST", url: "//www.teamcheap.com/product/index/getTagroup", data: {product_id:product_id, viewhtml_type:viewhtml_type}, dataType: 'JSON', async: false, success: function (data) { if (data.code == 200 && data.data) { $.each(data.data, function(key, val){ let html = ''; $.each(val.group, function(tag_key, tag_val){ //有show_text 下标 if (tag_val.show_text) { switch (tag_val.type) { case 1: case 2: case 3: case 4: html += `
${tag_val.show_text}
`; break; case 5: case 6: //tag_val.show_text 存在判断 if (tag_val.show_text.length > 0) { $.each(tag_val.show_text, function(show_key, show_val){ html += `
${show_val}
`; }) } break; } } }) $(".tag_group_list").eq(key).html(html); }); } } }); } getTagroup(); var mainImageData = null; async function main_image(spec_value) { let product_id = $("#product_id").val(); // 判断变量是否已有值 if (mainImageData == null) { try { const res = await fetch('/product/Index/getMainImage.html', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ product_id: product_id }) }); // 捕获并处理错误 if (!res.ok) throw new Error('请求失败'); mainImageData = await res.json(); // 存起来 } catch (err) { console.error('请求失败', err); } } if (mainImageData != null && mainImageData.data && mainImageData.data.spec_value) { for (let i = 0; i < mainImageData.data.spec_value.length; i++) { if (mainImageData.data.spec_value[i].spec_value_id == spec_value) { let main_image = mainImageData.data.spec_value[i].main_image; //如何替换掉当前产品的图片 let img_type = "left" if(img_type == "left"){ // 左侧缩略图 let $swiperContainer = $('.tailorism_info_left_imgs_type2 .tailorism_info_left_imgs_type2_swiper .swiper-wrapper') let html = '' main_image.map((item, index) => { // 1图片 2本地视频 3youtube if(item.type == 1) { html += `
` } else { html += `
` } }) $swiperContainer.html(html) mySwiper_type2 = new Swiper('.tailorism_info .tailorism_info_type2_swiper',{ direction: 'vertical', slidesPerView: 5, spaceBetween : 10, // slideToClickedSlide: true, navigation: { nextEl: '.tailorism_info .tailorism_info_type2_swiper-button-next', prevEl: '.tailorism_info .tailorism_info_type2_swiper-button-prev', }, breakpoints: { 601: { spaceBetween : 20, } } }); $swiperContainer.find('.swiper-slide').eq(0).click() } else if(img_type == "tile"){ // 两列平铺 let $tileImgContainer = $('.tailorism_info_left_imgs_type3') let html = '' main_image.map((item, index) => { // 1图片 2本地视频 3youtube if(item.type == 1) { html += `
Zoomed Image
` } else { html += `
` if(item.type == 3 && item.video_cover) { html += `
Custom White Purple Teal-Black Authentic Throwback Basketball Shorts
`; } if(item.type == 2 && item.video_cover) { html += `
`; } if(item.type == 3) { html += ``; } else { html += ``; } html += `
` } }) if(main_image.length == 0) { html = `` } $tileImgContainer.html(html) } else { // 底部缩略图 let $swiperContainer = $('.tailorism_info_left_imgs_type1 .tailorism_info_left_imgs_type1_swiper .swiper-wrapper') let html = '' main_image.map((item, index) => { // 1图片 2本地视频 3youtube if(item.type == 1) { html += `
` } else { html += `
` } }) $swiperContainer.html(html) mySwiper_type1 = new Swiper('.tailorism_info .tailorism_info_type1_swiper',{ slidesPerView: 5, spaceBetween : 10, // slideToClickedSlide: true, navigation: { nextEl: '.tailorism_info .tailorism_info_type1_swiper-button-next', prevEl: '.tailorism_info .tailorism_info_type1_swiper-button-prev', }, breakpoints: { 601: { spaceBetween : 20, } } }); $swiperContainer.find('.swiper-slide').eq(0).click() } // 图片预览功能 let $previewImgSwiperWrap = $('.detailInfoImgPreviewBox.preview-img-swiper-wrapper .swiper-wrapper') let preview_img_html = '' main_image.map((item, index) => { preview_img_html += `
` }) $previewImgSwiperWrap.html(preview_img_html) proDetailsPreviewImgSwiper = new Swiper(".preview-img-swiper .mySwiper", { loop: true, slidesPerView: 1, initialSlide: 0, navigation: { nextEl: ".detailInfoImgPreviewBox.preview-img-swiper-wrapper .swiper-button-next", prevEl: ".detailInfoImgPreviewBox.preview-img-swiper-wrapper .swiper-button-prev", }, on: { slideChange: function () { $previewImgBox = $('.detailInfoImgPreviewBox.preview-img-swiper-wrapper .img-box') $previewImg = $('.detailInfoImgPreviewBox.preview-img-swiper-wrapper .img-box .img') $previewImgBox.removeClass("zoom"); $previewImg.css('transform', 'scale(1)'); $previewImg.css('transform-origin', '50% 50%'); } } }); } } } }

Note

Production:

After the purchase, the processing time is about 5 –7  business days because each garment is handcrafted for you from scratch in our workshop.

 

Returns:

You may return your purchase for a replacement or refund within 30 days of receipt.But unauthorized returns and refused packages may not be eligible for refund.

 

Modify:

Once you finish payment, the order cannot be modified unless your order is not in production. Please make sure all your information is correct before submitting your order.

 

Tariff Information:

Due to recent tariff changes, please be assured that there will be NO ADDITIONAL FEES for any orders. All costs will be fully covered by 360iMcustom. 

Shipping

Receiving Time

Receiving Time = Processing Time + Shipping Time

Processing Time

5-7 business days

Shipping Time

Standard Shipping: 8-10 business days

Rush DHL / FedEx / UPS Shipping (3-5 business days)

  • We offer FREE Shipping Orders $50+ on all orders with standard shipping (8-10 business days) worldwide. 
  • In the meantime, we also offer Expedited DHL / FedEx / UPS Shipping service (3-5 business days).The cost for expedited DHL / FedEx / UPS service to United States is: 
    ㅇ $27.99 Order under $50
    ㅇ $38.99  Order $50.00 - $169.00
    ㅇ $49.99  Order $170-$500
    ㅇ $99.99  Order $501-$1000
    ㅇ $164.99 Order $1001-$2000
    ㅇ $249.99 Order  $2001-$3000
    ㅇ $274.99 Order $3001-$5000
    ㅇ $414.99 Order  $5001-$9900
    ㅇ $659.99  Order Over $9900

 


Purchasing expedited shipping does not shorten production time, it only speeds up the shipping time.

You will receive a shipping confirmation email once your order is ready to ship.

Description

Custom White Basketball Shorts

Elevate your game with 360iMcustom custom basketball shorts. These aren't just any shorts - they're tailored masterpieces that allow you to showcase your unique style and performance on the court. Get ready to make a statement in your customized basketball shorts with stitched numbers.

Our build basketball shorts give you the freedom to create your own design, adding your name, team logo, and preferred numbers that reflect your identity and skills. Made from high-quality materials, they offer exceptional comfort, breathability, and durability, ensuring you stay comfortable and focused during intense gameplay.

Whether you're playing in a competitive league, practicing with your team, or shooting hoops with friends, our unique basketball shorts will keep you looking and feeling great. They're not just apparel; they're a symbol of your passion for the game and your commitment to excellence.

With our personalized basketball shorts, you have endless possibilities to choose from. Select the colors, patterns, and styles that match your team's identity or represent your individual taste. Every detail is carefully crafted, from the fabric selection to the stitching technique, to deliver a high-quality and eye-catching design that stands out on the court.

Each 360iMcustom tailored basketball shorts is meticulously personalized with the following features:

  • Material: 100% polyester mesh
  • Stitched team or player name and numbers
  • Knit rib waistband, rib welt pockets at side, lined polyester mesh
  • Breathable & quick-drying; Exquisite stitching not easy to fall off
  • Moisture-wicking fabric has spongy handle, good draping property and elasticity as well as good dimensional stability and wrinkle-resistance
  • Japanese manufactured poly braided drawcord
  • Cotton drawstring at inner waistband
  • Machine wash, tumble dry low (natural air drying recommended)
  • Imported
  • Non-alcoholic available for wiping or washing

Reviews

(517 Reviews)
1 star

0%
2 star

0%
3 star

1.16%
4 star

1.16%
5 star

97.68%
Average rating: 4.96 based on 517 reviews
Share your thoughts with other customers
Write a Review
Most Recent
Most Recent
Earliest
Highest Rating
Lowest Rating
Pictures First
Most Recent
Most Recent
Earliest
Highest Rating
Lowest Rating
Pictures First
M
M****e

Definitely the best custom jersey i have had will be ordering more quality was great shipping was easy it definitely was the star of the show

Jun.10, 2025 07:50:56
Was this review helpful? (0)
D
D****e

I got so many compliments!!!

Jun.09, 2025 22:53:35
Was this review helpful? (0)
L
L****y

We are huge Cincinnati Bengals fans, and this art fabric is a great variation on the theme! He loves it! Thank you!

Jun.09, 2025 19:28:10
Was this review helpful? (0)
R
R****y

Just awesome

Jun.09, 2025 01:52:07
Was this review helpful? (0)
B
B****d

Great quality, nice turn around time. It was a true crowd-pleaser and they exceeded expectations! Nice!

Jun.09, 2025 00:22:45
Was this review helpful? (0)

Coupon xxxxxxxx has been successfully claimed

Coupon xxxxxxxx repeated collection

Failed to receive coupon xxxxxxx