Shift Solid Rayon Harlan Pants
${function() {
const variantData = data.variant || {"id":"f8c1efe3-5d41-4788-9f15-22ed05213370","product_id":"301f56d6-c938-4598-b9e9-03eebbc8c0a2","title":"grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012246-grey-s","barcode":"SN06103","position":17,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6b721543db3484cdd2ef9388d890a9.jpeg","path":"cd6b721543db3484cdd2ef9388d890a9.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":28.57,"min_quantity":1}],"weight":"0.35","compare_at_price":"34.01","price":"28.57","retail_price":"34.01","available":true,"url":"\/products\/shift-solid-rayon-harlan-pants?variant=f8c1efe3-5d41-4788-9f15-22ed05213370","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":16,"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":"f8c1efe3-5d41-4788-9f15-22ed05213370","product_id":"301f56d6-c938-4598-b9e9-03eebbc8c0a2","title":"grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21012246-grey-s","barcode":"SN06103","position":17,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6b721543db3484cdd2ef9388d890a9.jpeg","path":"cd6b721543db3484cdd2ef9388d890a9.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":28.57,"min_quantity":1}],"weight":"0.35","compare_at_price":"34.01","price":"28.57","retail_price":"34.01","available":true,"url":"\/products\/shift-solid-rayon-harlan-pants?variant=f8c1efe3-5d41-4788-9f15-22ed05213370","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"S"}],"off_ratio":16,"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 `
`;
}()}