Color Block Panels For Autumn/winter Denim Jackets
${function() {
const variantData = data.variant || {"id":"52a85999-d2c6-4146-9c2d-bd7de1de203f","product_id":"66e97207-5b1a-476a-ae39-1eab1f22e624","title":"gray-S","weight_unit":"g","inventory_quantity":999,"sku":"1592078005545984001","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d328bdfc670ddcf31802e5d551584f79.jpeg","path":"d328bdfc670ddcf31802e5d551584f79.jpeg","width":800,"height":800,"alt":"Color Block Panels For Autumn\/winter Denim Jackets Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"400","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/color-block-panels-for-autumn-winter-denim-jackets?variant=52a85999-d2c6-4146-9c2d-bd7de1de203f","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":2};
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":"52a85999-d2c6-4146-9c2d-bd7de1de203f","product_id":"66e97207-5b1a-476a-ae39-1eab1f22e624","title":"gray-S","weight_unit":"g","inventory_quantity":999,"sku":"1592078005545984001","barcode":"","position":1,"option1":"gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d328bdfc670ddcf31802e5d551584f79.jpeg","path":"d328bdfc670ddcf31802e5d551584f79.jpeg","width":800,"height":800,"alt":"Color Block Panels For Autumn\/winter Denim Jackets Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"400","compare_at_price":"37.95","price":"30.95","retail_price":"37.95","available":true,"url":"\/products\/color-block-panels-for-autumn-winter-denim-jackets?variant=52a85999-d2c6-4146-9c2d-bd7de1de203f","available_quantity":999999999,"options":[{"name":"Color","value":"gray"},{"name":"Size","value":"S"}],"off_ratio":18,"flashsale_info":[],"sales":2};
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 `
`;
}()}