PLUS LOFTS Black Khaki Green Loose Coat Men's Bodysuit Hip Hop Street Dress Straight Large Pocket Fashion Versatile Pants
${function() {
const variantData = data.variant || {"id":"df665e88-78cb-47e4-8e4a-b9734419a467","product_id":"9bf7dd5a-958f-4fd4-8c78-a85b7d145e87","title":"S-Khaki","weight_unit":"kg","inventory_quantity":618,"sku":"","barcode":"","position":1,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1bb21806cecdc7d6d17cbc39941fdbe.jpeg","path":"c1bb21806cecdc7d6d17cbc39941fdbe.jpeg","width":800,"height":717,"alt":"","aspect_ratio":1.1157601115760112},"wholesale_price":[{"price":50.7,"min_quantity":1}],"weight":"0.8","compare_at_price":"72.4","price":"50.7","retail_price":"72.4","available":true,"url":"\/products\/plus-lofts-black-khaki-green-loose-coat-mens-bodysuit-hip-hop-street-dress-straight-large-pocket-fashion-versatile-pants-ygma?variant=df665e88-78cb-47e4-8e4a-b9734419a467","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Khaki"}],"off_ratio":30,"flashsale_info":[],"sales":410};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
S
${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:
Khaki
${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
$50.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":"df665e88-78cb-47e4-8e4a-b9734419a467","product_id":"9bf7dd5a-958f-4fd4-8c78-a85b7d145e87","title":"S-Khaki","weight_unit":"kg","inventory_quantity":618,"sku":"","barcode":"","position":1,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1bb21806cecdc7d6d17cbc39941fdbe.jpeg","path":"c1bb21806cecdc7d6d17cbc39941fdbe.jpeg","width":800,"height":717,"alt":"","aspect_ratio":1.1157601115760112},"wholesale_price":[{"price":50.7,"min_quantity":1}],"weight":"0.8","compare_at_price":"72.4","price":"50.7","retail_price":"72.4","available":true,"url":"\/products\/plus-lofts-black-khaki-green-loose-coat-mens-bodysuit-hip-hop-street-dress-straight-large-pocket-fashion-versatile-pants-ygma?variant=df665e88-78cb-47e4-8e4a-b9734419a467","available_quantity":999999999,"options":[{"name":"size","value":"S"},{"name":"color","value":"Khaki"}],"off_ratio":30,"flashsale_info":[],"sales":410};
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.