PLUS LOFTS New Sports Socks, Outdoor Cycling Socks, Men And Women, Wicking, Breathable And Quick-drying Cycling Socks
${function() {
const variantData = data.variant || {"id":"5bfa5a75-f0cb-4b41-90e7-a95b3f969273","product_id":"96c24bc5-4002-40a8-8341-1310c6f7445f","title":"One size-Black","weight_unit":"g","inventory_quantity":923,"sku":"","barcode":"","position":1,"option1":"One size","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd41ea6921b849eea7bed5f28451af7b.jpeg","path":"bd41ea6921b849eea7bed5f28451af7b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.4,"min_quantity":1}],"weight":"20","compare_at_price":"12","price":"8.4","retail_price":"12","available":true,"url":"\/products\/plus-lofts-new-sports-socks-outdoor-cycling-socks-men-and-women-wicking-breathable-and-quick-drying-cycling-socks?variant=5bfa5a75-f0cb-4b41-90e7-a95b3f969273","available_quantity":999999999,"options":[{"name":"Size","value":"One size"},{"name":"Color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":835};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
One size
${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}
`
}()}
Color:
Black
${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}
`
}()}
Add to cart
$8.40
${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":"5bfa5a75-f0cb-4b41-90e7-a95b3f969273","product_id":"96c24bc5-4002-40a8-8341-1310c6f7445f","title":"One size-Black","weight_unit":"g","inventory_quantity":923,"sku":"","barcode":"","position":1,"option1":"One size","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd41ea6921b849eea7bed5f28451af7b.jpeg","path":"bd41ea6921b849eea7bed5f28451af7b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.4,"min_quantity":1}],"weight":"20","compare_at_price":"12","price":"8.4","retail_price":"12","available":true,"url":"\/products\/plus-lofts-new-sports-socks-outdoor-cycling-socks-men-and-women-wicking-breathable-and-quick-drying-cycling-socks?variant=5bfa5a75-f0cb-4b41-90e7-a95b3f969273","available_quantity":999999999,"options":[{"name":"Size","value":"One size"},{"name":"Color","value":"Black"}],"off_ratio":30,"flashsale_info":[],"sales":835};
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.