Casual Solid Color One-Shoulder Ladies Knit Set
${function() {
const variantData = data.variant || {"id":"1fce6349-96ec-42bb-9a7c-2cb0b8762e10","product_id":"4b1da96c-4612-4724-9b72-7b37a8419d6e","title":"blue-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210918608-blue-L","barcode":"","position":8,"option1":"blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f6fb3e2d522e882da4ec39c70f6d893c.jpeg","path":"f6fb3e2d522e882da4ec39c70f6d893c.jpeg","width":599,"height":794,"alt":"","aspect_ratio":0.7544080604534005},"wholesale_price":[{"price":45.69,"min_quantity":1}],"weight":"0","compare_at_price":"55.72","price":"45.69","retail_price":"55.72","available":true,"url":"\/products\/casual-solid-color-one-shoulder-ladies-knit-suit?variant=1fce6349-96ec-42bb-9a7c-2cb0b8762e10","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"L"}],"off_ratio":18,"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":"1fce6349-96ec-42bb-9a7c-2cb0b8762e10","product_id":"4b1da96c-4612-4724-9b72-7b37a8419d6e","title":"blue-L","weight_unit":"kg","inventory_quantity":0,"sku":"66210918608-blue-L","barcode":"","position":8,"option1":"blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f6fb3e2d522e882da4ec39c70f6d893c.jpeg","path":"f6fb3e2d522e882da4ec39c70f6d893c.jpeg","width":599,"height":794,"alt":"","aspect_ratio":0.7544080604534005},"wholesale_price":[{"price":45.69,"min_quantity":1}],"weight":"0","compare_at_price":"55.72","price":"45.69","retail_price":"55.72","available":true,"url":"\/products\/casual-solid-color-one-shoulder-ladies-knit-suit?variant=1fce6349-96ec-42bb-9a7c-2cb0b8762e10","available_quantity":999999999,"options":[{"name":"color","value":"blue"},{"name":"size","value":"L"}],"off_ratio":18,"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 `
`;
}()}