GAR BETHE Woolen Printed Men's Coat Fashion Mid-length Trench Coat
${function() {
const variantData = data.variant || {"id":"8d947938-04d6-4f47-8d40-53e3d826e70f","product_id":"f906b1d8-dc2a-4abb-a279-6a7b4622ab7a","title":"FY120-5XL","weight_unit":"g","inventory_quantity":797,"sku":"","barcode":"","position":1,"option1":"FY120","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2aee84b923d648ff2d2427702eb62c78.jpeg","path":"2aee84b923d648ff2d2427702eb62c78.jpeg","width":540,"height":810,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.2,"min_quantity":1}],"weight":"640","compare_at_price":"31.2","price":"31.2","retail_price":"31.2","available":true,"url":"\/products\/gar-bethe-woolen-printed-mens-coat-fashion-mid-length-trench-coat-51wm?variant=8d947938-04d6-4f47-8d40-53e3d826e70f","available_quantity":999999999,"options":[{"name":"Color","value":"FY120"},{"name":"Size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":626};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
FY120
${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:
5XL
${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
$31.20
${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":"8d947938-04d6-4f47-8d40-53e3d826e70f","product_id":"f906b1d8-dc2a-4abb-a279-6a7b4622ab7a","title":"FY120-5XL","weight_unit":"g","inventory_quantity":797,"sku":"","barcode":"","position":1,"option1":"FY120","option2":"5XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2aee84b923d648ff2d2427702eb62c78.jpeg","path":"2aee84b923d648ff2d2427702eb62c78.jpeg","width":540,"height":810,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":31.2,"min_quantity":1}],"weight":"640","compare_at_price":"31.2","price":"31.2","retail_price":"31.2","available":true,"url":"\/products\/gar-bethe-woolen-printed-mens-coat-fashion-mid-length-trench-coat-51wm?variant=8d947938-04d6-4f47-8d40-53e3d826e70f","available_quantity":999999999,"options":[{"name":"Color","value":"FY120"},{"name":"Size","value":"5XL"}],"off_ratio":0,"flashsale_info":[],"sales":626};
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.