Handmade Luxury-Inspired Outfit
${function() {
const variantData = data.variant || {"id":"94441eb4-a081-49eb-bb0f-ead5ed28cfe6","product_id":"fb54eaec-85f3-4e5d-a7b2-1ebcb1313c0d","title":"Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"J20990-brown","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a47b2e721f3a699bcfaa5532aa4801ad.jpeg","path":"a47b2e721f3a699bcfaa5532aa4801ad.jpeg","width":1206,"height":1198,"alt":"","aspect_ratio":1.006677796327212},"wholesale_price":[{"price":39.95,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"39.95","retail_price":"59.95","available":true,"url":"\/products\/gucci-inspired-labubu-set-lz1n?variant=94441eb4-a081-49eb-bb0f-ead5ed28cfe6","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"}],"off_ratio":33,"flashsale_info":[],"sales":618};
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}
`
}()}
people are viewing this right now
${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 `
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"94441eb4-a081-49eb-bb0f-ead5ed28cfe6","product_id":"fb54eaec-85f3-4e5d-a7b2-1ebcb1313c0d","title":"Brown","weight_unit":"kg","inventory_quantity":1000,"sku":"J20990-brown","barcode":"","position":1,"option1":"Brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a47b2e721f3a699bcfaa5532aa4801ad.jpeg","path":"a47b2e721f3a699bcfaa5532aa4801ad.jpeg","width":1206,"height":1198,"alt":"","aspect_ratio":1.006677796327212},"wholesale_price":[{"price":39.95,"min_quantity":1}],"weight":"0","compare_at_price":"59.95","price":"39.95","retail_price":"59.95","available":true,"url":"\/products\/gucci-inspired-labubu-set-lz1n?variant=94441eb4-a081-49eb-bb0f-ead5ed28cfe6","available_quantity":999999999,"options":[{"name":"Color","value":"Brown"}],"off_ratio":33,"flashsale_info":[],"sales":618};
return `
`
}()}
${function() {
const minDays = parseInt('3');
const maxDays = parseInt('7');
const customText = "Estimated Delivery\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}
`;
}()}