Casual Solid Color High Collar Pencil Pants Suits
${function() {
const variantData = data.variant || {"id":"827b3129-4b20-4ea8-ab0c-f2c6c29db7ca","product_id":"91e1f683-b711-48cb-bd34-7f4b9fd6cea1","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102140-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38ab4a7bcb328f22c5a0207a1c3c8de7.jpeg","path":"38ab4a7bcb328f22c5a0207a1c3c8de7.jpeg","width":495,"height":622,"alt":"","aspect_ratio":0.7958199356913184},"wholesale_price":[{"price":33.73,"min_quantity":1}],"weight":"0","compare_at_price":"39.68","price":"33.73","retail_price":"39.68","available":true,"url":"\/products\/casual-solid-color-high-collar-pencil-pants-suits?variant=827b3129-4b20-4ea8-ab0c-f2c6c29db7ca","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"827b3129-4b20-4ea8-ab0c-f2c6c29db7ca","product_id":"91e1f683-b711-48cb-bd34-7f4b9fd6cea1","title":"Black-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102140-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38ab4a7bcb328f22c5a0207a1c3c8de7.jpeg","path":"38ab4a7bcb328f22c5a0207a1c3c8de7.jpeg","width":495,"height":622,"alt":"","aspect_ratio":0.7958199356913184},"wholesale_price":[{"price":33.73,"min_quantity":1}],"weight":"0","compare_at_price":"39.68","price":"33.73","retail_price":"39.68","available":true,"url":"\/products\/casual-solid-color-high-collar-pencil-pants-suits?variant=827b3129-4b20-4ea8-ab0c-f2c6c29db7ca","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":0};
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 `
`;
}()}