Women's Casual Dress T Shirt Dress
${function() {
const variantData = data.variant || {"id":"a2a5bdc7-204d-4977-a8b2-87c11d914c9c","product_id":"94841121-9eb2-4dcc-b6f5-85a3dd0f8c9d","title":"L","weight_unit":"g","inventory_quantity":9999,"sku":"","barcode":"","position":1,"option1":"L","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/16b6161b8d57a14d018af5efbc2d103f.jpeg","path":"16b6161b8d57a14d018af5efbc2d103f.jpeg","width":750,"height":1000,"alt":"Women\u2019s Casual Dress T Shirt L","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/womens-casual-dress-t-shirt-dress?variant=a2a5bdc7-204d-4977-a8b2-87c11d914c9c","available_quantity":9999,"options":[{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 10;
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 `
`;
}()}
${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":"a2a5bdc7-204d-4977-a8b2-87c11d914c9c","product_id":"94841121-9eb2-4dcc-b6f5-85a3dd0f8c9d","title":"L","weight_unit":"g","inventory_quantity":9999,"sku":"","barcode":"","position":1,"option1":"L","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/16b6161b8d57a14d018af5efbc2d103f.jpeg","path":"16b6161b8d57a14d018af5efbc2d103f.jpeg","width":750,"height":1000,"alt":"Women\u2019s Casual Dress T Shirt L","aspect_ratio":0.75},"wholesale_price":[{"price":5,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"5","retail_price":"0","available":true,"url":"\/products\/womens-casual-dress-t-shirt-dress?variant=a2a5bdc7-204d-4977-a8b2-87c11d914c9c","available_quantity":9999,"options":[{"name":"Size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}