Take The Risk, Enjoy The Journey Printed Women's T-shirt
${function() {
const variantData = data.variant || {"id":"d6031840-230d-4a05-af12-bf7e43683b9c","product_id":"6fa9b402-e99e-4737-898e-47b68d9fe4cc","title":"Black-S","weight_unit":"g","inventory_quantity":99999993,"sku":"102033730001","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fa5c656c8405912fb3bcce93d522b2b4.jpeg","path":"fa5c656c8405912fb3bcce93d522b2b4.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16,"min_quantity":1}],"weight":"250","compare_at_price":"0","price":"16","retail_price":"0","available":true,"url":"\/products\/take-the-risk-enjoy-the-journey-printed-womens-t-shirt?variant=d6031840-230d-4a05-af12-bf7e43683b9c","available_quantity":99999993,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":137};
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.