Men's Anime Graphic Print Drawstring Shorts
${function() {
const variantData = data.variant || {"id":"44086a13-4473-4bf5-be02-5fde561e4c50","product_id":"5109100b-d536-41f8-8580-e69a91574eb7","title":"YPDK-CX114-S","weight_unit":"g","inventory_quantity":999,"sku":"1784421535210426370","barcode":"","position":1,"option1":"YPDK-CX114","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71e9c6f4e4345fb040e8a0f39d429feb.jpeg","path":"71e9c6f4e4345fb040e8a0f39d429feb.jpeg","width":1000,"height":1000,"alt":"Men's Anime Graphic Print Drawstring Shorts Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"30.95","retail_price":"0","available":true,"url":"\/products\/mens-anime-graphic-print-drawstring-shorts-bm0e?variant=44086a13-4473-4bf5-be02-5fde561e4c50","available_quantity":999999999,"options":[{"name":"Color","value":"YPDK-CX114"},{"name":"Size","value":"S"}],"off_ratio":0,"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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"44086a13-4473-4bf5-be02-5fde561e4c50","product_id":"5109100b-d536-41f8-8580-e69a91574eb7","title":"YPDK-CX114-S","weight_unit":"g","inventory_quantity":999,"sku":"1784421535210426370","barcode":"","position":1,"option1":"YPDK-CX114","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71e9c6f4e4345fb040e8a0f39d429feb.jpeg","path":"71e9c6f4e4345fb040e8a0f39d429feb.jpeg","width":1000,"height":1000,"alt":"Men's Anime Graphic Print Drawstring Shorts Techwear Shop","aspect_ratio":1},"wholesale_price":[{"price":30.95,"min_quantity":1}],"weight":"500","compare_at_price":"0","price":"30.95","retail_price":"0","available":true,"url":"\/products\/mens-anime-graphic-print-drawstring-shorts-bm0e?variant=44086a13-4473-4bf5-be02-5fde561e4c50","available_quantity":999999999,"options":[{"name":"Color","value":"YPDK-CX114"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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 `
`;
}()}