Ingvn - V-neck Long Sleeve Print Long Loose Dress
${function() {
const variantData = data.variant || {"id":"50733671-6303-43f9-b6ca-3ec3630c2ffa","product_id":"3e61b894-5b81-40e6-b23e-bb8a6150a08e","title":"02 Yellow-S","weight_unit":"g","inventory_quantity":487,"sku":"25797874-02-yellow-s","barcode":"","position":1,"option1":"02 Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fadb8371fc6fbd14bfdc3b32e397bf14.jpeg","path":"fadb8371fc6fbd14bfdc3b32e397bf14.jpeg","width":1000,"height":1000,"alt":"Ingvn - V-Neck Long Sleeve Print Loose Dress 02 Yellow \/ S","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/v-neck-long-sleeve-print-long-loose-dress?variant=50733671-6303-43f9-b6ca-3ec3630c2ffa","available_quantity":487,"options":[{"name":"Color","value":"02 Yellow"},{"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.
Sku : 25797874-02-yellow-s
${function(){
const variantData = data.variant || {"id":"50733671-6303-43f9-b6ca-3ec3630c2ffa","product_id":"3e61b894-5b81-40e6-b23e-bb8a6150a08e","title":"02 Yellow-S","weight_unit":"g","inventory_quantity":487,"sku":"25797874-02-yellow-s","barcode":"","position":1,"option1":"02 Yellow","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fadb8371fc6fbd14bfdc3b32e397bf14.jpeg","path":"fadb8371fc6fbd14bfdc3b32e397bf14.jpeg","width":1000,"height":1000,"alt":"Ingvn - V-Neck Long Sleeve Print Loose Dress 02 Yellow \/ S","aspect_ratio":1},"wholesale_price":[{"price":33.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"33.99","retail_price":"0","available":true,"url":"\/products\/v-neck-long-sleeve-print-long-loose-dress?variant=50733671-6303-43f9-b6ca-3ec3630c2ffa","available_quantity":487,"options":[{"name":"Color","value":"02 Yellow"},{"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}
`
}()}