Casual Print Panel Baseball Jacket
${function() {
const variantData = data.variant || {"id":"99b9e781-1f78-4e8c-b0c7-5b1f20092da7","product_id":"c87e5a95-007a-4bf9-8007-949dc45b5936","title":"Brown-S","weight_unit":"g","inventory_quantity":999,"sku":"XHZtVgcyt-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/003272c866ff061bc1e8e84f53661a61.jpeg","path":"003272c866ff061bc1e8e84f53661a61.jpeg","width":422,"height":422,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.89,"min_quantity":1}],"weight":"400","compare_at_price":"49","price":"37.89","retail_price":"49","available":true,"url":"\/products\/casual-print-panel-baseball-jacket-3r0h?variant=99b9e781-1f78-4e8c-b0c7-5b1f20092da7","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":23,"flashsale_info":[],"sales":0};
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 `
`;
}()}