Design sense V-neck bag hip knitted dress
${function() {
const variantData = data.variant || {"id":"ea49d52b-7c9c-4ba7-9819-ffe021dd7556","product_id":"d12bb345-077e-46ef-abb4-4970f44e6b59","title":"dark brown-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211262169-dark brown-one size","barcode":"","position":2,"option1":"dark brown","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf2a5111fc6d99507f9efe425208a9ad.jpeg","path":"bf2a5111fc6d99507f9efe425208a9ad.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.53,"min_quantity":1}],"weight":"0.5","compare_at_price":"66","price":"47.53","retail_price":"66","available":true,"url":"\/products\/design-sense-v-neck-bag-hip-knitted-dress?variant=ea49d52b-7c9c-4ba7-9819-ffe021dd7556","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"one size"}],"off_ratio":28,"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":"ea49d52b-7c9c-4ba7-9819-ffe021dd7556","product_id":"d12bb345-077e-46ef-abb4-4970f44e6b59","title":"dark brown-one size","weight_unit":"kg","inventory_quantity":0,"sku":"662211262169-dark brown-one size","barcode":"","position":2,"option1":"dark brown","option2":"one size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bf2a5111fc6d99507f9efe425208a9ad.jpeg","path":"bf2a5111fc6d99507f9efe425208a9ad.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.53,"min_quantity":1}],"weight":"0.5","compare_at_price":"66","price":"47.53","retail_price":"66","available":true,"url":"\/products\/design-sense-v-neck-bag-hip-knitted-dress?variant=ea49d52b-7c9c-4ba7-9819-ffe021dd7556","available_quantity":999999999,"options":[{"name":"color","value":"dark brown"},{"name":"size","value":"one size"}],"off_ratio":28,"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 `
`;
}()}