MUX VIE Ani Kang |slim-fit Jacket Denim Fabric Men's Jacket
${function() {
const variantData = data.variant || {"id":"5413a718-3d4b-44cf-a875-671b28a45c2f","product_id":"431d2d0a-ed37-42a1-913d-3bc2199a8629","title":"XL-Light blue","weight_unit":"kg","inventory_quantity":787,"sku":"","barcode":"","position":1,"option1":"XL","option2":"Light blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/286e0df8a8e5d5260c04efb8aeca2df8.jpeg","path":"286e0df8a8e5d5260c04efb8aeca2df8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.7,"min_quantity":1}],"weight":"0.56","compare_at_price":"55.8","price":"30.7","retail_price":"55.8","available":true,"url":"\/products\/mux-vie-ani-kang-slim-fit-jacket-denim-fabric-mens-jacket?variant=5413a718-3d4b-44cf-a875-671b28a45c2f","available_quantity":999999999,"options":[{"name":"Size","value":"XL"},{"name":"Color","value":"Light blue"}],"off_ratio":45,"flashsale_info":[],"sales":507};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
XL
${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:
Light blue
${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
$30.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":"5413a718-3d4b-44cf-a875-671b28a45c2f","product_id":"431d2d0a-ed37-42a1-913d-3bc2199a8629","title":"XL-Light blue","weight_unit":"kg","inventory_quantity":787,"sku":"","barcode":"","position":1,"option1":"XL","option2":"Light blue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/286e0df8a8e5d5260c04efb8aeca2df8.jpeg","path":"286e0df8a8e5d5260c04efb8aeca2df8.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.7,"min_quantity":1}],"weight":"0.56","compare_at_price":"55.8","price":"30.7","retail_price":"55.8","available":true,"url":"\/products\/mux-vie-ani-kang-slim-fit-jacket-denim-fabric-mens-jacket?variant=5413a718-3d4b-44cf-a875-671b28a45c2f","available_quantity":999999999,"options":[{"name":"Size","value":"XL"},{"name":"Color","value":"Light blue"}],"off_ratio":45,"flashsale_info":[],"sales":507};
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.