MUX VIE Long Sleeve Trench Coat Men's Lapel Slim Double-breasted Coat
${function() {
const variantData = data.variant || {"id":"74a6e836-98b5-4fda-baf3-b0b49779ab3c","product_id":"e56e956d-a7ff-4a79-a882-645e9cde311e","title":"Light Gray-S","weight_unit":"g","inventory_quantity":757,"sku":"","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0ab49bd031b05851e569b089e86dda9.jpeg","path":"a0ab49bd031b05851e569b089e86dda9.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.1,"min_quantity":1}],"weight":"670","compare_at_price":"43","price":"30.1","retail_price":"43","available":true,"url":"\/products\/mux-vie-long-sleeve-trench-coat-mens-lapel-slim-double-breasted-coat-b1wq?variant=74a6e836-98b5-4fda-baf3-b0b49779ab3c","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":813};
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:
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}
`
}()}
Add to cart
$30.10
${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":"74a6e836-98b5-4fda-baf3-b0b49779ab3c","product_id":"e56e956d-a7ff-4a79-a882-645e9cde311e","title":"Light Gray-S","weight_unit":"g","inventory_quantity":757,"sku":"","barcode":"","position":1,"option1":"Light Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0ab49bd031b05851e569b089e86dda9.jpeg","path":"a0ab49bd031b05851e569b089e86dda9.jpeg","width":750,"height":1000,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":30.1,"min_quantity":1}],"weight":"670","compare_at_price":"43","price":"30.1","retail_price":"43","available":true,"url":"\/products\/mux-vie-long-sleeve-trench-coat-mens-lapel-slim-double-breasted-coat-b1wq?variant=74a6e836-98b5-4fda-baf3-b0b49779ab3c","available_quantity":999999999,"options":[{"name":"Color","value":"Light Gray"},{"name":"size","value":"S"}],"off_ratio":30,"flashsale_info":[],"sales":813};
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.