PLUS LOFTS 6pairs New Men's Solid Cotton Breathable Short Crew Socks, Sweat Absorbing Sports Socks
${function() {
const variantData = data.variant || {"id":"eff91e36-046b-4cf3-b882-d460ee5bd457","product_id":"65f933cc-1dd9-451f-bca4-26f7d5ede2d9","title":"WHITE-US 7-11","weight_unit":"g","inventory_quantity":991,"sku":"","barcode":"","position":1,"option1":"WHITE","option2":"US 7-11","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adb7975dd3016c7cf993fa55f29de66c.jpeg","path":"adb7975dd3016c7cf993fa55f29de66c.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.7,"min_quantity":1}],"weight":"10","compare_at_price":"37.6","price":"20.7","retail_price":"37.6","available":true,"url":"\/products\/plus-lofts-6pairs-new-mens-solid-cotton-breathable-short-crew-socks-sweat-absorbing-sports-socks-0roc?variant=eff91e36-046b-4cf3-b882-d460ee5bd457","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"US 7-11"}],"off_ratio":45,"flashsale_info":[],"sales":262};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
WHITE
${function(){
const optName = "Color";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
US 7-11
${function(){
const optName = "Size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$20.70
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"eff91e36-046b-4cf3-b882-d460ee5bd457","product_id":"65f933cc-1dd9-451f-bca4-26f7d5ede2d9","title":"WHITE-US 7-11","weight_unit":"g","inventory_quantity":991,"sku":"","barcode":"","position":1,"option1":"WHITE","option2":"US 7-11","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/adb7975dd3016c7cf993fa55f29de66c.jpeg","path":"adb7975dd3016c7cf993fa55f29de66c.jpeg","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":20.7,"min_quantity":1}],"weight":"10","compare_at_price":"37.6","price":"20.7","retail_price":"37.6","available":true,"url":"\/products\/plus-lofts-6pairs-new-mens-solid-cotton-breathable-short-crew-socks-sweat-absorbing-sports-socks-0roc?variant=eff91e36-046b-4cf3-b882-d460ee5bd457","available_quantity":999999999,"options":[{"name":"Color","value":"WHITE"},{"name":"Size","value":"US 7-11"}],"off_ratio":45,"flashsale_info":[],"sales":262};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.