Casual Street Letter Patch Zip Hoodie
${function() {
const variantData = data.variant || {"id":"2f1eb761-af96-47cb-9d26-4c724a101b58","product_id":"acd1f41a-d6da-4659-b2b7-190b753f08fa","title":"Purple-M","weight_unit":"g","inventory_quantity":9999,"sku":"XHl9f6F7j-Purple-M","barcode":"","position":1,"option1":"Purple","option2":"M","option3":"","note":"","image":null,"wholesale_price":[{"price":55.89,"min_quantity":1}],"weight":"666","compare_at_price":"88","price":"55.89","retail_price":"88","available":true,"url":"\/products\/casual-street-letter-patch-zip-hoodie?variant=2f1eb761-af96-47cb-9d26-4c724a101b58","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"M"}],"off_ratio":36,"flashsale_info":[],"sales":35};
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 `
`;
}()}