People and ghosts are not in the street baseball jacket
${function() {
const variantData = data.variant || {"id":"4be07bb3-8523-4526-bf78-9450c9de2baa","product_id":"2772a84c-77d4-42fc-82da-ef49a68d6d68","title":"Black-M","weight_unit":"g","inventory_quantity":999,"sku":"XHp4t5sIP-Black-M","barcode":"","position":1,"option1":"Black","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/717e357b5fbcd481483a514f12674b85.jpeg","path":"717e357b5fbcd481483a514f12674b85.jpeg","width":1350,"height":1350,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.89,"min_quantity":1}],"weight":"400","compare_at_price":"83.85","price":"42.89","retail_price":"83.85","available":true,"url":"\/products\/people-and-ghosts-are-not-in-the-street-baseball-jacket?variant=4be07bb3-8523-4526-bf78-9450c9de2baa","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"M"}],"off_ratio":49,"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}
`
}()}
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 `
`;
}()}