Custom Vintage Graphic Tees
${function() {
const variantData = data.variant || {"id":"f256fba0-1907-459f-92bb-6f0ea3838dbc","product_id":"c62b4927-49da-406b-a857-71e77e7d023c","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a015f3e15a73b902d7be2afac7629bb.jpg","path":"9a015f3e15a73b902d7be2afac7629bb.jpg","width":1920,"height":1920,"alt":"Custom Vintage Graphic Tees Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":19.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.95","retail_price":"0","available":true,"url":"\/products\/custom-vintage-graphic-tees?variant=f256fba0-1907-459f-92bb-6f0ea3838dbc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f256fba0-1907-459f-92bb-6f0ea3838dbc","product_id":"c62b4927-49da-406b-a857-71e77e7d023c","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9a015f3e15a73b902d7be2afac7629bb.jpg","path":"9a015f3e15a73b902d7be2afac7629bb.jpg","width":1920,"height":1920,"alt":"Custom Vintage Graphic Tees Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":19.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.95","retail_price":"0","available":true,"url":"\/products\/custom-vintage-graphic-tees?variant=f256fba0-1907-459f-92bb-6f0ea3838dbc","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
return `
`
}()}
${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 `
`;
}()}