PLUS LOFTS Men's Fashion Casual Hooded Jacket Top
${function() {
const variantData = data.variant || {"id":"098d8509-ffa9-4ba6-9e4d-f9f3780531a5","product_id":"52c070c9-b8c6-4387-9298-f8d2611027de","title":"Light Gray-4XL","weight_unit":"g","inventory_quantity":737,"sku":"","barcode":"","position":1,"option1":"Light Gray","option2":"4XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6284d8f92acedfacc4e7a39716088b.jpeg","path":"cd6284d8f92acedfacc4e7a39716088b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.6,"min_quantity":1}],"weight":"570","compare_at_price":"55.2","price":"27.6","retail_price":"55.2","available":true,"url":"\/products\/plus-lofts-mens-fashion-casual-hooded-jacket-top-6f94?variant=098d8509-ffa9-4ba6-9e4d-f9f3780531a5","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"4XL"}],"off_ratio":50,"flashsale_info":[],"sales":337};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Light Gray
${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:
4XL
${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
$27.60
${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":"098d8509-ffa9-4ba6-9e4d-f9f3780531a5","product_id":"52c070c9-b8c6-4387-9298-f8d2611027de","title":"Light Gray-4XL","weight_unit":"g","inventory_quantity":737,"sku":"","barcode":"","position":1,"option1":"Light Gray","option2":"4XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6284d8f92acedfacc4e7a39716088b.jpeg","path":"cd6284d8f92acedfacc4e7a39716088b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.6,"min_quantity":1}],"weight":"570","compare_at_price":"55.2","price":"27.6","retail_price":"55.2","available":true,"url":"\/products\/plus-lofts-mens-fashion-casual-hooded-jacket-top-6f94?variant=098d8509-ffa9-4ba6-9e4d-f9f3780531a5","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"Size","value":"4XL"}],"off_ratio":50,"flashsale_info":[],"sales":337};
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.