Casual Letters Print Two Piece Set
${function() {
const variantData = data.variant || {"id":"b8e2e167-6d6e-4ae1-8aee-58ff54483ff3","product_id":"10609896-5393-4137-ac9c-2665c4c1ae8b","title":"Black-S","weight_unit":"g","inventory_quantity":999,"sku":"XHJSCYh1u-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/89832acb7301f74d8050f8c5ef0e8685.jpeg","path":"89832acb7301f74d8050f8c5ef0e8685.jpeg","width":692,"height":692,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.89,"min_quantity":1}],"weight":"700","compare_at_price":"49","price":"39.89","retail_price":"49","available":true,"url":"\/products\/casual-letters-print-two-piece-set-2n8o?variant=b8e2e167-6d6e-4ae1-8aee-58ff54483ff3","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":5};
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 `
`;
}()}