Fashionable baseball jacket with contrasting color stitching
${function() {
const variantData = data.variant || {"id":"da740820-c2cb-4c58-923f-b9e0380e40c8","product_id":"acac6f16-a23c-4901-ac23-bea234e55a0d","title":"Blue-S","weight_unit":"g","inventory_quantity":999,"sku":"XHQdNH961-Blue-S","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/592dbc8831723b25a1b581e4799a6eec.jpeg","path":"592dbc8831723b25a1b581e4799a6eec.jpeg","width":1260,"height":1259,"alt":"","aspect_ratio":1.0007942811755361},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"500","compare_at_price":"50","price":"39.89","retail_price":"50","available":true,"url":"\/products\/fashionable-baseball-jacket-with-contrasting-color-stitching?variant=da740820-c2cb-4c58-923f-b9e0380e40c8","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"S"}],"off_ratio":20,"flashsale_info":[],"sales":4};
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 `
`;
}()}