PLUS LOFTS Doslavida Men's Distressed Denim Jacket Unisex Button Down Jean Coat Casual Long Sleeve Trucker Hooded Jackets Outwear
${function() {
const variantData = data.variant || {"id":"ccc41dc4-3afa-4176-bb67-65ec33db2b7d","product_id":"146b920b-0a60-4421-ba02-c807ec9031c8","title":"A-black-X-Small","weight_unit":"kg","inventory_quantity":819,"sku":"","barcode":"","position":1,"option1":"A-black","option2":"X-Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b3b02ed8a98dbb2f3944df7eb30d720.jpeg","path":"2b3b02ed8a98dbb2f3944df7eb30d720.jpeg","width":765,"height":800,"alt":"","aspect_ratio":0.95625},"wholesale_price":[{"price":41.5,"min_quantity":1}],"weight":"0.01","compare_at_price":"75.5","price":"41.5","retail_price":"75.5","available":true,"url":"\/products\/plus-lofts-doslavida-men-39-s-distressed-denim-jacket-unisex-button-down-jean-coat-casual-long-sleeve-trucker-hooded-jackets-outwear?variant=ccc41dc4-3afa-4176-bb67-65ec33db2b7d","available_quantity":999999999,"options":[{"name":"Color","value":"A-black"},{"name":"Size","value":"X-Small"}],"off_ratio":45,"flashsale_info":[],"sales":300};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
A-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}
`
}()}
Size:
X-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
$41.50
${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":"ccc41dc4-3afa-4176-bb67-65ec33db2b7d","product_id":"146b920b-0a60-4421-ba02-c807ec9031c8","title":"A-black-X-Small","weight_unit":"kg","inventory_quantity":819,"sku":"","barcode":"","position":1,"option1":"A-black","option2":"X-Small","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2b3b02ed8a98dbb2f3944df7eb30d720.jpeg","path":"2b3b02ed8a98dbb2f3944df7eb30d720.jpeg","width":765,"height":800,"alt":"","aspect_ratio":0.95625},"wholesale_price":[{"price":41.5,"min_quantity":1}],"weight":"0.01","compare_at_price":"75.5","price":"41.5","retail_price":"75.5","available":true,"url":"\/products\/plus-lofts-doslavida-men-39-s-distressed-denim-jacket-unisex-button-down-jean-coat-casual-long-sleeve-trucker-hooded-jackets-outwear?variant=ccc41dc4-3afa-4176-bb67-65ec33db2b7d","available_quantity":999999999,"options":[{"name":"Color","value":"A-black"},{"name":"Size","value":"X-Small"}],"off_ratio":45,"flashsale_info":[],"sales":300};
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.