Fashion Solid Color V-neck Knit Set
${function() {
const variantData = data.variant || {"id":"8b6291e1-09cc-40be-b2ac-af4abe07aed7","product_id":"fdedd21f-92ee-4f6f-a84f-dda4b0928f5f","title":"Black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251013-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9e8abc193042695dfdcb790b4266a47.jpeg","path":"b9e8abc193042695dfdcb790b4266a47.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":75.36,"min_quantity":1}],"weight":"0.65","compare_at_price":"93.04","price":"75.36","retail_price":"93.04","available":true,"url":"\/products\/fashion-solid-color-v-neck-knit-set?variant=8b6291e1-09cc-40be-b2ac-af4abe07aed7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":19,"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":"8b6291e1-09cc-40be-b2ac-af4abe07aed7","product_id":"fdedd21f-92ee-4f6f-a84f-dda4b0928f5f","title":"Black-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"772109251013-Black-2XL","barcode":"","position":1,"option1":"Black","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9e8abc193042695dfdcb790b4266a47.jpeg","path":"b9e8abc193042695dfdcb790b4266a47.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":75.36,"min_quantity":1}],"weight":"0.65","compare_at_price":"93.04","price":"75.36","retail_price":"93.04","available":true,"url":"\/products\/fashion-solid-color-v-neck-knit-set?variant=8b6291e1-09cc-40be-b2ac-af4abe07aed7","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"2XL"}],"off_ratio":19,"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 `
`;
}()}