[특별 할인] 연중 최저가! 정상가 $15, 특가 $6.5---Summer men's baseball cap
${function() {
const variantData = data.variant || {"id":"40f5a94f-26b8-4710-bc28-624a1509c5a9","product_id":"86534e12-1652-4e23-91fe-9a431b6bd9ae","title":"black","weight_unit":"kg","inventory_quantity":2,"sku":"-black-A0011943","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f60ad7fa2553fd59cbf40df64b4d39fb.jpg","path":"f60ad7fa2553fd59cbf40df64b4d39fb.jpg","width":1706,"height":1279,"alt":"","aspect_ratio":1.3338545738858483},"wholesale_price":[{"price":6.5,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"6.5","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-15-\ud2b9\uac00-6-5-summer-mens-baseball-cap?variant=40f5a94f-26b8-4710-bc28-624a1509c5a9","available_quantity":2,"options":[{"name":"colour","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":15};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"40f5a94f-26b8-4710-bc28-624a1509c5a9","product_id":"86534e12-1652-4e23-91fe-9a431b6bd9ae","title":"black","weight_unit":"kg","inventory_quantity":2,"sku":"-black-A0011943","barcode":"","position":1,"option1":"black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f60ad7fa2553fd59cbf40df64b4d39fb.jpg","path":"f60ad7fa2553fd59cbf40df64b4d39fb.jpg","width":1706,"height":1279,"alt":"","aspect_ratio":1.3338545738858483},"wholesale_price":[{"price":6.5,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"6.5","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-15-\ud2b9\uac00-6-5-summer-mens-baseball-cap?variant=40f5a94f-26b8-4710-bc28-624a1509c5a9","available_quantity":2,"options":[{"name":"colour","value":"black"}],"off_ratio":0,"flashsale_info":[],"sales":15};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${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 `
`;
}()}