Front Lace-Up With Ruffled Pants Set
${function() {
const variantData = data.variant || {"id":"7708f15e-f88f-4e1f-90c8-baca48e0946c","product_id":"59724a3c-4da0-4dd0-89bc-43e8c32a5c38","title":"white-l","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052210-white-l","barcode":"","position":1,"option1":"white","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7b0bdafcb29396ff1dd300a95f08a22.jpeg","path":"b7b0bdafcb29396ff1dd300a95f08a22.jpeg","width":914,"height":1371,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":37.01,"min_quantity":1}],"weight":"0","compare_at_price":"52.88","price":"37.01","retail_price":"52.88","available":true,"url":"\/products\/front-lace-up-with-ruffled-pants-set_e9qz?variant=7708f15e-f88f-4e1f-90c8-baca48e0946c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"l"}],"off_ratio":30,"flashsale_info":[],"sales":4};
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":"7708f15e-f88f-4e1f-90c8-baca48e0946c","product_id":"59724a3c-4da0-4dd0-89bc-43e8c32a5c38","title":"white-l","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21052210-white-l","barcode":"","position":1,"option1":"white","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7b0bdafcb29396ff1dd300a95f08a22.jpeg","path":"b7b0bdafcb29396ff1dd300a95f08a22.jpeg","width":914,"height":1371,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":37.01,"min_quantity":1}],"weight":"0","compare_at_price":"52.88","price":"37.01","retail_price":"52.88","available":true,"url":"\/products\/front-lace-up-with-ruffled-pants-set_e9qz?variant=7708f15e-f88f-4e1f-90c8-baca48e0946c","available_quantity":999999999,"options":[{"name":"color","value":"white"},{"name":"size","value":"l"}],"off_ratio":30,"flashsale_info":[],"sales":4};
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 `
`;
}()}