Smiley Face Hip Hop Casual Sports Shorts
${function() {
const variantData = data.variant || {"id":"e300aaa9-befa-417b-a726-57a6d58c575f","product_id":"c385b83d-83d8-4f38-991a-40f6ab1229a6","title":"black-XL","weight_unit":"g","inventory_quantity":999,"sku":"9e37363b-5476-4c14-bb7b-28375ab9e4da","barcode":"","position":1,"option1":"black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0590252757a15d340b1559250c4c563.jpeg","path":"d0590252757a15d340b1559250c4c563.jpeg","width":800,"height":800,"alt":"Smiley Face Hip Hop Casual Sports Shorts Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":17.95,"min_quantity":1}],"weight":"0","compare_at_price":"21.95","price":"17.95","retail_price":"21.95","available":true,"url":"\/products\/smiley-face-hip-hop-casual-sports-shorts-qrom?variant=e300aaa9-befa-417b-a726-57a6d58c575f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"XL"}],"off_ratio":18,"flashsale_info":[],"sales":3};
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 variantData = data.variant || {"id":"e300aaa9-befa-417b-a726-57a6d58c575f","product_id":"c385b83d-83d8-4f38-991a-40f6ab1229a6","title":"black-XL","weight_unit":"g","inventory_quantity":999,"sku":"9e37363b-5476-4c14-bb7b-28375ab9e4da","barcode":"","position":1,"option1":"black","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d0590252757a15d340b1559250c4c563.jpeg","path":"d0590252757a15d340b1559250c4c563.jpeg","width":800,"height":800,"alt":"Smiley Face Hip Hop Casual Sports Shorts Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":17.95,"min_quantity":1}],"weight":"0","compare_at_price":"21.95","price":"17.95","retail_price":"21.95","available":true,"url":"\/products\/smiley-face-hip-hop-casual-sports-shorts-qrom?variant=e300aaa9-befa-417b-a726-57a6d58c575f","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"name":"Size","value":"XL"}],"off_ratio":18,"flashsale_info":[],"sales":3};
return `
`
}()}
${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 `
`;
}()}