Dreamer Print Short Sleeve T-Shirt
${function() {
const variantData = data.variant || {"id":"1fd20f7d-10ca-460c-a5e2-fdeecbadc552","product_id":"db28ba29-b30a-4294-8214-7380c2ecefb5","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHeBBotem-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b9b6356d824d73e9c0d8458b8a7f7a54.jpeg","path":"b9b6356d824d73e9c0d8458b8a7f7a54.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"200","compare_at_price":"29","price":"18.89","retail_price":"29","available":true,"url":"\/products\/dreamer-print-short-sleeve-t-shirt?variant=1fd20f7d-10ca-460c-a5e2-fdeecbadc552","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":35,"flashsale_info":[],"sales":6};
const saveType = "percentage";
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${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 `
`;
}()}