Cross slogan graphic print elastic shorts
${function() {
const variantData = data.variant || {"id":"d2464cbb-a02b-41cd-b97f-7ab5df888a38","product_id":"e1927d4e-4536-4028-879e-e90c61174c46","title":"Beige-S","weight_unit":"g","inventory_quantity":999,"sku":"XHALvJvp3-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/96378ad00747af1d65d0052da98f03f2.jpeg","path":"96378ad00747af1d65d0052da98f03f2.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.89,"min_quantity":1}],"weight":"200","compare_at_price":"28","price":"23.89","retail_price":"28","available":true,"url":"\/products\/cross-slogan-graphic-print-elastic-shorts?variant=d2464cbb-a02b-41cd-b97f-7ab5df888a38","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"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 `
`;
}()}