Hat Men's Korean Style Peaked Cap Hip-hop Cap Black And White Baseball Cap
${function() {
const variantData = data.variant || {"id":"1e4b34f9-48fc-41d4-b070-2d58f10e25ac","product_id":"dae1ec8a-c415-4ba3-a94d-a18e70733b3a","title":"black-adjustable","weight_unit":"g","inventory_quantity":999,"sku":"1c74fe28-e779-49eb-b29c-95629c08a943","barcode":"","position":1,"option1":"black","option2":"adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1a0a20eb625648581b44e3ed7c0e681e.jpeg","path":"1a0a20eb625648581b44e3ed7c0e681e.jpeg","width":800,"height":800,"alt":"Hat Men's Korean Style Peaked Cap Hip-hop Cap Black And White Baseball Cap","aspect_ratio":1},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"0","compare_at_price":"29.99","price":"14.99","retail_price":"29.99","available":true,"url":"\/products\/hat-mens-korean-style-peaked-cap-hip-hop-cap-black-and-white-baseball-cap?variant=1e4b34f9-48fc-41d4-b070-2d58f10e25ac","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"adjustable"}],"off_ratio":50,"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}
`
}()}
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