Boho Abstract Positioning Printing 2 Pieces Set
${function() {
const variantData = data.variant || {"id":"9456cf54-5697-4837-97e8-20bc5b9e756b","product_id":"6a03a813-77dd-482b-aa69-1a0b75ce1ac3","title":"Brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"BL230426289-Brown-L","barcode":"","position":1,"option1":"Brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c942d9b289728dd39d5a1ffb9dec508.jpeg","path":"0c942d9b289728dd39d5a1ffb9dec508.jpeg","width":765,"height":900,"alt":"","aspect_ratio":0.85},"wholesale_price":[{"price":41.19,"min_quantity":1}],"weight":"0.3","compare_at_price":"60.5","price":"41.19","retail_price":"60.5","available":true,"url":"\/products\/boho-abstract-positioning-printing-2-pieces-set?variant=9456cf54-5697-4837-97e8-20bc5b9e756b","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"L"}],"off_ratio":32,"flashsale_info":[],"sales":3};
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":"9456cf54-5697-4837-97e8-20bc5b9e756b","product_id":"6a03a813-77dd-482b-aa69-1a0b75ce1ac3","title":"Brown-L","weight_unit":"kg","inventory_quantity":0,"sku":"BL230426289-Brown-L","barcode":"","position":1,"option1":"Brown","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c942d9b289728dd39d5a1ffb9dec508.jpeg","path":"0c942d9b289728dd39d5a1ffb9dec508.jpeg","width":765,"height":900,"alt":"","aspect_ratio":0.85},"wholesale_price":[{"price":41.19,"min_quantity":1}],"weight":"0.3","compare_at_price":"60.5","price":"41.19","retail_price":"60.5","available":true,"url":"\/products\/boho-abstract-positioning-printing-2-pieces-set?variant=9456cf54-5697-4837-97e8-20bc5b9e756b","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"},{"name":"Size","value":"L"}],"off_ratio":32,"flashsale_info":[],"sales":3};
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 `
`;
}()}