Retro Washed And Worn Baseball Cap
${function() {
const variantData = data.variant || {"id":"fc740269-5e50-4ad0-81c6-832c0c425e5c","product_id":"3db60834-e368-48e4-bb21-d00b27c8241a","title":"Brim black-adjustable","weight_unit":"g","inventory_quantity":999,"sku":"4e10e50d-f257-46f5-954f-0f9ca632dc6a","barcode":"","position":1,"option1":"Brim black","option2":"adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7a02ac9b8c0d986a48ed12b4e47a9aac.jpeg","path":"7a02ac9b8c0d986a48ed12b4e47a9aac.jpeg","width":800,"height":800,"alt":"Retro Washed And Worn Baseball Cap","aspect_ratio":1},"wholesale_price":[{"price":11.99,"min_quantity":1}],"weight":"160","compare_at_price":"23.99","price":"11.99","retail_price":"23.99","available":true,"url":"\/products\/retro-washed-and-worn-baseball-cap?variant=fc740269-5e50-4ad0-81c6-832c0c425e5c","available_quantity":999999999,"options":[{"name":"Color","value":"Brim black"},{"name":"Size","value":"adjustable"}],"off_ratio":50,"flashsale_info":[],"sales":23};
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function() {
const postageFreeAmount = 89;
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 `
`;
}()}
Free Shipping on Orders Over $89