PLUS LOFTS Crz Yoga Men's Seamless 5" Boxer Briefs Breathable Sports Underwear (3-pack
${function() {
const variantData = data.variant || {"id":"621a1c71-9a24-4df6-9813-a6128725fcac","product_id":"0ff53008-be42-4746-9acc-9ce2ea0d0e00","title":"Black (3pack)-Small","weight_unit":"kg","inventory_quantity":671,"sku":"","barcode":"","position":1,"option1":"Black (3pack)","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e79312d895e71463587d3ccead75a80.jpeg","path":"1e79312d895e71463587d3ccead75a80.jpeg","width":732,"height":800,"alt":"","aspect_ratio":0.915},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.01","compare_at_price":"36","price":"18","retail_price":"36","available":true,"url":"\/products\/plus-lofts-crz-yoga-men-39-s-seamless-5-34-boxer-briefs-breathable-sports-underwear-3-pack?variant=621a1c71-9a24-4df6-9813-a6128725fcac","available_quantity":999999999,"options":[{"name":"Color","value":"Black (3pack)"},{"name":"Size","value":"Small"}],"off_ratio":50,"flashsale_info":[],"sales":218};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black (3pack)
${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:
Small
${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
$18.00
${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":"621a1c71-9a24-4df6-9813-a6128725fcac","product_id":"0ff53008-be42-4746-9acc-9ce2ea0d0e00","title":"Black (3pack)-Small","weight_unit":"kg","inventory_quantity":671,"sku":"","barcode":"","position":1,"option1":"Black (3pack)","option2":"Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e79312d895e71463587d3ccead75a80.jpeg","path":"1e79312d895e71463587d3ccead75a80.jpeg","width":732,"height":800,"alt":"","aspect_ratio":0.915},"wholesale_price":[{"price":18,"min_quantity":1}],"weight":"0.01","compare_at_price":"36","price":"18","retail_price":"36","available":true,"url":"\/products\/plus-lofts-crz-yoga-men-39-s-seamless-5-34-boxer-briefs-breathable-sports-underwear-3-pack?variant=621a1c71-9a24-4df6-9813-a6128725fcac","available_quantity":999999999,"options":[{"name":"Color","value":"Black (3pack)"},{"name":"Size","value":"Small"}],"off_ratio":50,"flashsale_info":[],"sales":218};
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.