Ingvn - Sexy Knee-Length Party Dresses Cotton Ribbed Knitted Turtleneck Solid Split Long Sleeve Autumn Mock Neck Elegant Dress
${function() {
const variantData = data.variant || {"id":"cc5b4f79-e8de-489b-be6f-130c44557ea5","product_id":"c2fefd85-2b91-476a-9716-c6e6c85f9529","title":"Black-S","weight_unit":"g","inventory_quantity":683,"sku":"63223076-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76750c523382bc6438210acc76e32cdc.jpeg","path":"76750c523382bc6438210acc76e32cdc.jpeg","width":1000,"height":1000,"alt":"Ingvn - Sexy Knee - Length Party Dresses Cotton Ribbed Knitted Turtleneck Solid Split Long Sleeve","aspect_ratio":1},"wholesale_price":[{"price":20.03,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.03","retail_price":"0","available":true,"url":"\/products\/wannathis-sexy-knee-length-party-dresses-cotton-ribbed-knitted-turtleneck-solid-split-long-sleeve-autumn-mock-neck-elegant-dress-2?variant=cc5b4f79-e8de-489b-be6f-130c44557ea5","available_quantity":683,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"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}
`
}()}
${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":"cc5b4f79-e8de-489b-be6f-130c44557ea5","product_id":"c2fefd85-2b91-476a-9716-c6e6c85f9529","title":"Black-S","weight_unit":"g","inventory_quantity":683,"sku":"63223076-black-s","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76750c523382bc6438210acc76e32cdc.jpeg","path":"76750c523382bc6438210acc76e32cdc.jpeg","width":1000,"height":1000,"alt":"Ingvn - Sexy Knee - Length Party Dresses Cotton Ribbed Knitted Turtleneck Solid Split Long Sleeve","aspect_ratio":1},"wholesale_price":[{"price":20.03,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"20.03","retail_price":"0","available":true,"url":"\/products\/wannathis-sexy-knee-length-party-dresses-cotton-ribbed-knitted-turtleneck-solid-split-long-sleeve-autumn-mock-neck-elegant-dress-2?variant=cc5b4f79-e8de-489b-be6f-130c44557ea5","available_quantity":683,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}