Funny kitten casual set
${function() {
const variantData = data.variant || {"id":"b7284ff9-2b4f-4f66-b5a1-27f4b3162d80","product_id":"b29d3fe6-eb24-49cb-8165-9923721afb4c","title":"pink-L","weight_unit":"kg","inventory_quantity":0,"sku":"66211104803-pink-L","barcode":"","position":1,"option1":"pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42c0c4a8fe14959d14381d173c6b2fc2.jpeg","path":"42c0c4a8fe14959d14381d173c6b2fc2.jpeg","width":1001,"height":1416,"alt":"","aspect_ratio":0.7069209039548022},"wholesale_price":[{"price":37.57,"min_quantity":1}],"weight":"0","compare_at_price":"46.96","price":"37.57","retail_price":"46.96","available":true,"url":"\/products\/funny-kitten-casual-set?variant=b7284ff9-2b4f-4f66-b5a1-27f4b3162d80","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"L"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
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}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"b7284ff9-2b4f-4f66-b5a1-27f4b3162d80","product_id":"b29d3fe6-eb24-49cb-8165-9923721afb4c","title":"pink-L","weight_unit":"kg","inventory_quantity":0,"sku":"66211104803-pink-L","barcode":"","position":1,"option1":"pink","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/42c0c4a8fe14959d14381d173c6b2fc2.jpeg","path":"42c0c4a8fe14959d14381d173c6b2fc2.jpeg","width":1001,"height":1416,"alt":"","aspect_ratio":0.7069209039548022},"wholesale_price":[{"price":37.57,"min_quantity":1}],"weight":"0","compare_at_price":"46.96","price":"37.57","retail_price":"46.96","available":true,"url":"\/products\/funny-kitten-casual-set?variant=b7284ff9-2b4f-4f66-b5a1-27f4b3162d80","available_quantity":999999999,"options":[{"name":"color","value":"pink"},{"name":"size","value":"L"}],"off_ratio":20,"flashsale_info":[],"sales":0};
return `
`
}()}
${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 `
`;
}()}