Casual Print Panel Baseball Jacket
${function() {
const variantData = data.variant || {"id":"76c37e94-0192-4442-b9bd-29add3b8ddf5","product_id":"afcf6d1c-87a4-4766-9e2a-f7de43d329fa","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOnqu6mx-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6bf0425e307f342adea7d558dab2f8de.jpeg","path":"6bf0425e307f342adea7d558dab2f8de.jpeg","width":1082,"height":1082,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"300","compare_at_price":"49","price":"39.89","retail_price":"49","available":true,"url":"\/products\/casual-print-panel-baseball-jacket-k0tc?variant=76c37e94-0192-4442-b9bd-29add3b8ddf5","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":3};
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 `
`;
}()}