Hip-hop Korean Casual All-match Baseball Cap
${function() {
const variantData = data.variant || {"id":"4938e553-1d6c-4627-a0b5-05d2a6c22a77","product_id":"5f4ec730-0b34-4600-ae73-a29d360db933","title":"White-Star X [Add ring and beads with belt behind]-adjustable","weight_unit":"g","inventory_quantity":999,"sku":"3baad2c9-f9ea-4bea-b770-a36d5a648cbb","barcode":"","position":3,"option1":"White-Star X [Add ring and beads with belt behind]","option2":"adjustable","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/553c262479278f468af66b0162fbf09d.jpeg","path":"553c262479278f468af66b0162fbf09d.jpeg","width":800,"height":800,"alt":"Hip-hop Korean Casual All-match Baseball Cap","aspect_ratio":1},"wholesale_price":[{"price":11.99,"min_quantity":1}],"weight":"0","compare_at_price":"23.99","price":"11.99","retail_price":"23.99","available":true,"url":"\/products\/hip-hop-korean-casual-all-match-baseball-cap?variant=4938e553-1d6c-4627-a0b5-05d2a6c22a77","available_quantity":999999999,"options":[{"name":"Color","value":"White-Star X [Add ring and beads with belt behind]"},{"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