Uniform knitted pile cap for men and women
${function() {
const variantData = data.variant || {"id":"bad33b39-818c-4902-9760-f889badb78a7","product_id":"6031b1e3-8311-48b5-b938-feb6b24c19a5","title":"White-One Size Fits All","weight_unit":"g","inventory_quantity":999,"sku":"XH3KjYV0U-White-OneSizeFitsAll","barcode":"","position":1,"option1":"White","option2":"One Size Fits All","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/60b9ae682d8dcdbe2a07eda4c663709d.jpeg","path":"60b9ae682d8dcdbe2a07eda4c663709d.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":10.89,"min_quantity":1}],"weight":"100","compare_at_price":"20","price":"10.89","retail_price":"20","available":true,"url":"\/products\/uniform-knitted-pile-cap-for-men-and-women?variant=bad33b39-818c-4902-9760-f889badb78a7","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One Size Fits All"}],"off_ratio":46,"flashsale_info":[],"sales":0};
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 `
`;
}()}