Casual street printed cotton T-shirt
${function() {
const variantData = data.variant || {"id":"f577a64e-12a5-4ae3-bda2-5e83440264e4","product_id":"8a16c911-a0f7-46d7-b2e6-f27f4e80c6fa","title":"Pink-S","weight_unit":"g","inventory_quantity":9999,"sku":"XHLByHQpo-Pink-S","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0457049ba990343b1a7874c5d7612862.jpeg","path":"0457049ba990343b1a7874c5d7612862.jpeg","width":1440,"height":1440,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":18.89,"min_quantity":1}],"weight":"222","compare_at_price":"33","price":"18.89","retail_price":"33","available":true,"url":"\/products\/casual-street-printed-cotton-t-shirt-8ex3?variant=f577a64e-12a5-4ae3-bda2-5e83440264e4","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":43,"flashsale_info":[],"sales":30};
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 `
`;
}()}