๐๐ Floral quick-swing dress with small jacket (two-piece set)
${function() {
const variantData = data.variant || {"id":"e8e3d19b-c182-401c-8f1d-5532f3114097","product_id":"ba94c7c8-689b-496c-9fee-da2fc60cc931","title":" Style1- S","weight_unit":"kg","inventory_quantity":100,"sku":"beh4-Style1-S","barcode":"","position":1,"option1":" Style1","option2":" S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05248364a4477f250af5201d22e9fe3a.jpeg","path":"05248364a4477f250af5201d22e9fe3a.jpeg","width":800,"height":1066,"alt":"","aspect_ratio":0.7504690431519699},"wholesale_price":[{"price":33,"min_quantity":1}],"weight":"0","compare_at_price":"49","price":"33","retail_price":"49","available":true,"url":"\/products\/\ud83d\udc57\ud83d\udc97-floral-quick-swing-dress-with-small-jacket-two-piece-set?variant=e8e3d19b-c182-401c-8f1d-5532f3114097","available_quantity":999999999,"options":[{"name":"Color","value":" Style1"},{"name":"Size","value":" S"}],"off_ratio":"33","flashsale_info":{"variant_id":"e8e3d19b-c182-401c-8f1d-5532f3114097","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"33","compare_at_price":"","discount_price":"33","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"33","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":3};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${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}
`
}()}
people are watching this now
Product was out of stock.
Product is unavailable.
${function() {
const minDays = parseInt('5');
const maxDays = parseInt('10');
const customText = "Estimated delivery time\uff1a{min_date} - {max_date}";
const minDate = new Date(Date.now() + (minDays * 86400000));
const maxDate = new Date(Date.now() + (maxDays * 86400000));
const formatDate = (minDate.getFullYear() == maxDate.getFullYear() && minDate.getFullYear() == new Date().getFullYear())
? new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit' })
: new Intl.DateTimeFormat('en', { month: 'short', day: '2-digit', year: 'numeric' });
const tipText = customText.replace(/\{min_date\}/g, '' + formatDate.format(minDate) + '')
.replace(/\{max_date\}/g, '' + formatDate.format(maxDate) + '');
return `
${tipText}
`;
}()}
You have the right to return the product within 14 days