${function() {
const variantData = data.variant || {"id":"f204d65f-8215-4015-a0a3-d6418ab688f6","product_id":"7dc36571-b930-422b-906d-9e0dbea9df54","title":"Black-S","weight_unit":"kg","inventory_quantity":999999,"sku":"10203486-Black-S-A0012745","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e51f3e0df60e59a33e905f794aef1ab.webp","path":"4e51f3e0df60e59a33e905f794aef1ab.webp","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"0","compare_at_price":"26.98","price":"14.98","retail_price":"26.98","available":true,"url":"\/products\/fuck-fake-friends-printed-mens-t-shirt?variant=f204d65f-8215-4015-a0a3-d6418ab688f6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":11};
const saveType = "percentage";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function() {
const postageFreeAmount = 79;
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}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"f204d65f-8215-4015-a0a3-d6418ab688f6","product_id":"7dc36571-b930-422b-906d-9e0dbea9df54","title":"Black-S","weight_unit":"kg","inventory_quantity":999999,"sku":"10203486-Black-S-A0012745","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4e51f3e0df60e59a33e905f794aef1ab.webp","path":"4e51f3e0df60e59a33e905f794aef1ab.webp","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":14.98,"min_quantity":1}],"weight":"0","compare_at_price":"26.98","price":"14.98","retail_price":"26.98","available":true,"url":"\/products\/fuck-fake-friends-printed-mens-t-shirt?variant=f204d65f-8215-4015-a0a3-d6418ab688f6","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":44,"flashsale_info":[],"sales":11};
return `
`
}()}