【Pre sale Product】【June 25 th shipment 】H123 Golf Clothing Women's Flip Collar Cold Striped Ice Silk Quick Drying Top
${function() {
const variantData = data.variant || {"id":"9dc8ab98-3693-4b12-a149-754b329cefbb","product_id":"bafc2fd2-5dca-442e-80fb-3ac16dc293f4","title":"white-S","weight_unit":"kg","inventory_quantity":19,"sku":"H123#P140-white-S-A0015148","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":31.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"31.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-product-june-25-th-shipment-h123-golf-clothing-womens-flip-collar-cold-striped-ice-silk-quick-drying-top?variant=9dc8ab98-3693-4b12-a149-754b329cefbb","available_quantity":19,"options":[{"name":"colour","value":"white"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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}
`
}()}
${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":"9dc8ab98-3693-4b12-a149-754b329cefbb","product_id":"bafc2fd2-5dca-442e-80fb-3ac16dc293f4","title":"white-S","weight_unit":"kg","inventory_quantity":19,"sku":"H123#P140-white-S-A0015148","barcode":"","position":1,"option1":"white","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":31.8,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"31.8","retail_price":"0","available":true,"url":"\/products\/pre-sale-product-june-25-th-shipment-h123-golf-clothing-womens-flip-collar-cold-striped-ice-silk-quick-drying-top?variant=9dc8ab98-3693-4b12-a149-754b329cefbb","available_quantity":19,"options":[{"name":"colour","value":"white"},{"name":"size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":8};
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 `
`;
}()}