Casual personalized printed angel shorts
${function() {
const variantData = data.variant || {"id":"4aab2a66-c467-4672-95c8-f29f7e13328c","product_id":"5a227f89-aa70-4d61-9a33-be3dab4e9721","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHOvZpVfD-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/87733030107cfc6194df5f114c1bbca3.jpeg","path":"87733030107cfc6194df5f114c1bbca3.jpeg","width":1680,"height":1680,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.89,"min_quantity":1}],"weight":"200","compare_at_price":"32","price":"22.89","retail_price":"32","available":true,"url":"\/products\/casual-personalized-printed-angel-shorts?variant=4aab2a66-c467-4672-95c8-f29f7e13328c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":28,"flashsale_info":[],"sales":4};
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 `
`;
}()}