Daisy Flower Pattern Short Sleeve Button-Up Shirt
${function() {
const variantData = data.variant || {"id":"5da75210-3191-4648-9341-4eb47063b72f","product_id":"26b61219-069c-480d-b0a9-b999561f8495","title":"Black-S","weight_unit":"g","inventory_quantity":759,"sku":"SKU102486790001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8e025a7cb58fb31d354333e4232455bd.jpeg","path":"8e025a7cb58fb31d354333e4232455bd.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"250","compare_at_price":"48","price":"30","retail_price":"48","available":true,"url":"\/products\/daisy-flower-pattern-short-sleeve-button-up-shirt?variant=5da75210-3191-4648-9341-4eb47063b72f","available_quantity":759,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":38,"flashsale_info":[],"sales":88};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const postageFreeAmount = 70;
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.