[특별 할인] 연중 최저가! 정상가 $15, 특가 $4.8---Summer sun hat men's baseball cap
${function() {
const variantData = data.variant || {"id":"9e335fe4-7cb7-4282-99a0-53075d207492","product_id":"d50979b4-7b49-4305-89a6-48543de21628","title":"blue","weight_unit":"kg","inventory_quantity":21,"sku":"-blue-A0012030","barcode":"","position":3,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce3242d4a4cb0fddc469b711db357c13.jpg","path":"ce3242d4a4cb0fddc469b711db357c13.jpg","width":1492,"height":1120,"alt":"","aspect_ratio":1.332142857142857},"wholesale_price":[{"price":4.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"4.8","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-15-\ud2b9\uac00-4-8-summer-sun-hat-mens-baseball-cap?variant=9e335fe4-7cb7-4282-99a0-53075d207492","available_quantity":21,"options":[{"name":"colour","value":"blue"}],"off_ratio":0,"flashsale_info":[],"sales":28};
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":"9e335fe4-7cb7-4282-99a0-53075d207492","product_id":"d50979b4-7b49-4305-89a6-48543de21628","title":"blue","weight_unit":"kg","inventory_quantity":21,"sku":"-blue-A0012030","barcode":"","position":3,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ce3242d4a4cb0fddc469b711db357c13.jpg","path":"ce3242d4a4cb0fddc469b711db357c13.jpg","width":1492,"height":1120,"alt":"","aspect_ratio":1.332142857142857},"wholesale_price":[{"price":4.8,"min_quantity":1}],"weight":"0.2","compare_at_price":"0","price":"4.8","retail_price":"0","available":true,"url":"\/products\/\ud2b9\ubcc4-\ud560\uc778-\uc5f0\uc911-\ucd5c\uc800\uac00-\uc815\uc0c1\uac00-15-\ud2b9\uac00-4-8-summer-sun-hat-mens-baseball-cap?variant=9e335fe4-7cb7-4282-99a0-53075d207492","available_quantity":21,"options":[{"name":"colour","value":"blue"}],"off_ratio":0,"flashsale_info":[],"sales":28};
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 `
`;
}()}