Stylish Floral Tassel Dress Robe
${function() {
const variantData = data.variant || {"id":"aada2705-4091-477c-a2e3-43abf98dc9c4","product_id":"c57f1cb5-51f7-4f4c-8f53-a3e1122c3631","title":"Fluorescent yellow-M","weight_unit":"g","inventory_quantity":999,"sku":"1743151406075949058","barcode":"","position":1,"option1":"Fluorescent yellow","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c8122aa8df9a083704830af158043a91.jpeg","path":"c8122aa8df9a083704830af158043a91.jpeg","width":610,"height":813,"alt":"b1952694e5f3c75312f0fa7461738305","aspect_ratio":0.7503075030750308},"wholesale_price":[{"price":49.02,"min_quantity":1}],"weight":"300","compare_at_price":"98.04","price":"49.02","retail_price":"98.04","available":true,"url":"\/products\/stylish-floral-tassel-dress-robe?variant=aada2705-4091-477c-a2e3-43abf98dc9c4","available_quantity":999999999,"options":[{"name":"Color","value":"Fluorescent yellow"},{"name":"Size","value":"M"}],"off_ratio":50,"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 postageFreeAmount = 109;
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 `
`;
}()}