Personalized Letters & Skull Print Two-Piece Set
${function() {
const variantData = data.variant || {"id":"c3e38031-3488-4f76-a20c-66d62921f7d9","product_id":"920c9616-000d-446e-8615-20a75ff02324","title":"Purple-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgHXdJyt-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8c048585bfe740e8073c9b20ee962c6.jpeg","path":"f8c048585bfe740e8073c9b20ee962c6.jpeg","width":1108,"height":1108,"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\/personalized-letters-skull-print-two-piece-set?variant=c3e38031-3488-4f76-a20c-66d62921f7d9","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
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.
Sku : XHgHXdJyt-Purple-S
Weight : 700g
${function(){
const variantData = data.variant || {"id":"c3e38031-3488-4f76-a20c-66d62921f7d9","product_id":"920c9616-000d-446e-8615-20a75ff02324","title":"Purple-S","weight_unit":"g","inventory_quantity":999,"sku":"XHgHXdJyt-Purple-S","barcode":"","position":1,"option1":"Purple","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f8c048585bfe740e8073c9b20ee962c6.jpeg","path":"f8c048585bfe740e8073c9b20ee962c6.jpeg","width":1108,"height":1108,"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\/personalized-letters-skull-print-two-piece-set?variant=c3e38031-3488-4f76-a20c-66d62921f7d9","available_quantity":999999999,"options":[{"name":"Color","value":"Purple"},{"name":"Size","value":"S"}],"off_ratio":19,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 79;
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 `
`;
}()}