Pocket Hooded Long Trench Coat(2.0)
1073
${function() {
const variantData = data.variant || {"id":"d8baa153-ae68-4925-b78d-86b9e9ef6da8","product_id":"c8eb98a8-e422-4623-bbc8-5586df5dfe45","title":"black-2XL","weight_unit":"g","inventory_quantity":999,"sku":"1463022740924579841","barcode":"","position":5,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ddb1696f666fdcc2bc0ebe98c29817c.jpeg","path":"1ddb1696f666fdcc2bc0ebe98c29817c.jpeg","width":800,"height":800,"alt":"Pocket Hooded Long Trench Coat(2.0) Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":57.95,"min_quantity":1}],"weight":"700","compare_at_price":"71.95","price":"57.95","retail_price":"71.95","available":true,"url":"\/products\/stylish-solid-color-pocket-hooded-trench-coat-phzg?variant=d8baa153-ae68-4925-b78d-86b9e9ef6da8","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"2XL"}],"off_ratio":19,"flashsale_info":[],"sales":10};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"d8baa153-ae68-4925-b78d-86b9e9ef6da8","product_id":"c8eb98a8-e422-4623-bbc8-5586df5dfe45","title":"black-2XL","weight_unit":"g","inventory_quantity":999,"sku":"1463022740924579841","barcode":"","position":5,"option1":"black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1ddb1696f666fdcc2bc0ebe98c29817c.jpeg","path":"1ddb1696f666fdcc2bc0ebe98c29817c.jpeg","width":800,"height":800,"alt":"Pocket Hooded Long Trench Coat(2.0) Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":57.95,"min_quantity":1}],"weight":"700","compare_at_price":"71.95","price":"57.95","retail_price":"71.95","available":true,"url":"\/products\/stylish-solid-color-pocket-hooded-trench-coat-phzg?variant=d8baa153-ae68-4925-b78d-86b9e9ef6da8","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"2XL"}],"off_ratio":19,"flashsale_info":[],"sales":10};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}