Summer Bohemian Vacation Roman Shoes
${function() {
const variantData = data.variant || {"id":"bd2f9c27-e42e-4fbe-8779-8f428b782f0f","product_id":"92c326c7-94c2-40fa-ba86-a19dcde1e04b","title":"brown-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221598-brown-5","barcode":"","position":8,"option1":"brown","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aede69483dc22b4bc993bd964b3e2412.jpeg","path":"aede69483dc22b4bc993bd964b3e2412.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/summer-bohemian-vacation-roman-shoes?variant=bd2f9c27-e42e-4fbe-8779-8f428b782f0f","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"5"}],"off_ratio":17,"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":"bd2f9c27-e42e-4fbe-8779-8f428b782f0f","product_id":"92c326c7-94c2-40fa-ba86-a19dcde1e04b","title":"brown-5","weight_unit":"kg","inventory_quantity":0,"sku":"662305221598-brown-5","barcode":"","position":8,"option1":"brown","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/aede69483dc22b4bc993bd964b3e2412.jpeg","path":"aede69483dc22b4bc993bd964b3e2412.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.99,"min_quantity":1}],"weight":"0.7","compare_at_price":"58","price":"47.99","retail_price":"58","available":true,"url":"\/products\/summer-bohemian-vacation-roman-shoes?variant=bd2f9c27-e42e-4fbe-8779-8f428b782f0f","available_quantity":999999999,"options":[{"name":"color","value":"brown"},{"name":"size","value":"5"}],"off_ratio":17,"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 `
`;
}()}