PLUS LOFTS High-end Brand Men's Casual Denim Shirt 2024 Spring Autumn New Linen Cotton Double Pocket Jean Jacket Male Classic All Match Top
${function() {
const variantData = data.variant || {"id":"786acb38-98ed-4c3b-a264-8be9304b9ef5","product_id":"10c0f565-7bca-4692-95ef-76cbc99797d7","title":"89-1-M 48kg-55kg","weight_unit":"kg","inventory_quantity":956,"sku":"","barcode":"","position":1,"option1":"89-1","option2":"M 48kg-55kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f68216c61915ed6118991ae098e64c03.jpeg","path":"f68216c61915ed6118991ae098e64c03.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.8,"min_quantity":1}],"weight":"0","compare_at_price":"41.2","price":"26.8","retail_price":"41.2","available":true,"url":"\/products\/plus-lofts-high-end-brand-mens-casual-denim-shirt-2024-spring-autumn-new-linen-cotton-double-pocket-jean-jacket-male-classic-all-match-top?variant=786acb38-98ed-4c3b-a264-8be9304b9ef5","available_quantity":999999999,"options":[{"name":"Color","value":"89-1"},{"name":"Size","value":"M 48kg-55kg"}],"off_ratio":35,"flashsale_info":[],"sales":601};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
89-1
${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:
M 48kg-55kg
${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
$26.80
${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":"786acb38-98ed-4c3b-a264-8be9304b9ef5","product_id":"10c0f565-7bca-4692-95ef-76cbc99797d7","title":"89-1-M 48kg-55kg","weight_unit":"kg","inventory_quantity":956,"sku":"","barcode":"","position":1,"option1":"89-1","option2":"M 48kg-55kg","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f68216c61915ed6118991ae098e64c03.jpeg","path":"f68216c61915ed6118991ae098e64c03.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":26.8,"min_quantity":1}],"weight":"0","compare_at_price":"41.2","price":"26.8","retail_price":"41.2","available":true,"url":"\/products\/plus-lofts-high-end-brand-mens-casual-denim-shirt-2024-spring-autumn-new-linen-cotton-double-pocket-jean-jacket-male-classic-all-match-top?variant=786acb38-98ed-4c3b-a264-8be9304b9ef5","available_quantity":999999999,"options":[{"name":"Color","value":"89-1"},{"name":"Size","value":"M 48kg-55kg"}],"off_ratio":35,"flashsale_info":[],"sales":601};
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.