Casual personalized print shorts
${function() {
const variantData = data.variant || {"id":"c6035853-4699-4a09-a4f5-9a6a8289f765","product_id":"84a8bb73-129b-4fc2-aa2f-0e46e1150797","title":"Gray-S","weight_unit":"g","inventory_quantity":999,"sku":"XHkXVd7cH-Gray-S","barcode":"","position":1,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62f925be762964a6c1e2813b9670d1da.png","path":"62f925be762964a6c1e2813b9670d1da.png","width":480,"height":480,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.89,"min_quantity":1}],"weight":"0","compare_at_price":"35","price":"29.89","retail_price":"35","available":true,"url":"\/products\/casual-personalized-print-shorts?variant=c6035853-4699-4a09-a4f5-9a6a8289f765","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":15,"flashsale_info":[],"sales":2};
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 `
`;
}()}