Casual Solid Color High Collar Pencil Pants Suits
${function() {
const variantData = data.variant || {"id":"c3ee5147-586f-4dd3-887e-0164564059a7","product_id":"91e1f683-b711-48cb-bd34-7f4b9fd6cea1","title":"Ivory-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102140-ivory-s","barcode":"","position":13,"option1":"Ivory","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed57c79c745ceb65c2a398d76e76b042.jpeg","path":"ed57c79c745ceb65c2a398d76e76b042.jpeg","width":497,"height":611,"alt":"","aspect_ratio":0.8134206219312602},"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=c3ee5147-586f-4dd3-887e-0164564059a7","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"},{"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":"c3ee5147-586f-4dd3-887e-0164564059a7","product_id":"91e1f683-b711-48cb-bd34-7f4b9fd6cea1","title":"Ivory-S","weight_unit":"lb","inventory_quantity":0,"sku":"20102140-ivory-s","barcode":"","position":13,"option1":"Ivory","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed57c79c745ceb65c2a398d76e76b042.jpeg","path":"ed57c79c745ceb65c2a398d76e76b042.jpeg","width":497,"height":611,"alt":"","aspect_ratio":0.8134206219312602},"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=c3ee5147-586f-4dd3-887e-0164564059a7","available_quantity":999999999,"options":[{"name":"Color","value":"Ivory"},{"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 `
`;
}()}