Back Lace Up Leopard Prints Summer Dress
${function() {
const variantData = data.variant || {"id":"45d18950-6614-4c15-a2b9-ef2d8b8670de","product_id":"a2892aeb-cb35-4cdb-94fd-1fbcf65e81a7","title":"leopard-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21050806-leopard-s","barcode":"","position":1,"option1":"leopard","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b22748252ffd9cee6573aba733f0dd8.png","path":"0b22748252ffd9cee6573aba733f0dd8.png","width":824,"height":947,"alt":"","aspect_ratio":0.870116156282999},"wholesale_price":[{"price":46.3,"min_quantity":1}],"weight":"0","compare_at_price":"55.83","price":"46.3","retail_price":"55.83","available":true,"url":"\/products\/back-lace-up-leopard-prints-summer-dress?variant=45d18950-6614-4c15-a2b9-ef2d8b8670de","available_quantity":999999999,"options":[{"name":"color","value":"leopard"},{"name":"size","value":"s"}],"off_ratio":17,"flashsale_info":[],"sales":3};
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":"45d18950-6614-4c15-a2b9-ef2d8b8670de","product_id":"a2892aeb-cb35-4cdb-94fd-1fbcf65e81a7","title":"leopard-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21050806-leopard-s","barcode":"","position":1,"option1":"leopard","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0b22748252ffd9cee6573aba733f0dd8.png","path":"0b22748252ffd9cee6573aba733f0dd8.png","width":824,"height":947,"alt":"","aspect_ratio":0.870116156282999},"wholesale_price":[{"price":46.3,"min_quantity":1}],"weight":"0","compare_at_price":"55.83","price":"46.3","retail_price":"55.83","available":true,"url":"\/products\/back-lace-up-leopard-prints-summer-dress?variant=45d18950-6614-4c15-a2b9-ef2d8b8670de","available_quantity":999999999,"options":[{"name":"color","value":"leopard"},{"name":"size","value":"s"}],"off_ratio":17,"flashsale_info":[],"sales":3};
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 `
`;
}()}