Vintage Leaf Graffiti Prints Two-pieces Set
${function() {
const variantData = data.variant || {"id":"4473197c-23dc-4d16-8602-f13e3c0e821c","product_id":"6239f8e2-392f-4081-9c09-9281c9a802ac","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2307124064-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ab97b978fa597a5bec890cea1a611c6.png","path":"4ab97b978fa597a5bec890cea1a611c6.png","width":573,"height":615,"alt":"","aspect_ratio":0.9317073170731708},"wholesale_price":[{"price":46.59,"min_quantity":1}],"weight":"0","compare_at_price":"72.8","price":"46.59","retail_price":"72.8","available":true,"url":"\/products\/vintage-leaf-graffiti-prints-two-pieces-set-eksf?variant=4473197c-23dc-4d16-8602-f13e3c0e821c","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":36,"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":"4473197c-23dc-4d16-8602-f13e3c0e821c","product_id":"6239f8e2-392f-4081-9c09-9281c9a802ac","title":"Brown-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2307124064-Brown-S","barcode":"","position":1,"option1":"Brown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ab97b978fa597a5bec890cea1a611c6.png","path":"4ab97b978fa597a5bec890cea1a611c6.png","width":573,"height":615,"alt":"","aspect_ratio":0.9317073170731708},"wholesale_price":[{"price":46.59,"min_quantity":1}],"weight":"0","compare_at_price":"72.8","price":"46.59","retail_price":"72.8","available":true,"url":"\/products\/vintage-leaf-graffiti-prints-two-pieces-set-eksf?variant=4473197c-23dc-4d16-8602-f13e3c0e821c","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"S"}],"off_ratio":36,"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 `
`;
}()}