Rainforest Leopard Pattern Short Sleeve Button-Up Shirt
${function() {
const variantData = data.variant || {"id":"72b91d21-d7b7-43d4-b503-2832d80c646c","product_id":"4d7b1f0c-eaca-4dec-9af3-0db4d0a419a1","title":"Photo Color-S","weight_unit":"g","inventory_quantity":652,"sku":"SKU102485710001","barcode":"","position":1,"option1":"Photo Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/638c4d3f2e4bf0aa5c99605b8a0b8b5a.jpeg","path":"638c4d3f2e4bf0aa5c99605b8a0b8b5a.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"250","compare_at_price":"52","price":"30","retail_price":"52","available":true,"url":"\/products\/rainforest-leopard-pattern-short-sleeve-button-up-shirt?variant=72b91d21-d7b7-43d4-b503-2832d80c646c","available_quantity":652,"options":[{"name":"Color","value":"Photo Color"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":112};
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.