HB60702#Women's Autumn New Round Neck Long Sleeve Casual Knitted Shirt
${function() {
const variantData = data.variant || {"id":"e04bf787-1b8e-459f-b648-941bdb113e21","product_id":"e58dc17b-1b38-4abc-bbbc-3b547ed0a2d3","title":"yellow-S","weight_unit":"kg","inventory_quantity":19,"sku":"HB60702#P180-yellow-S-A00112486","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":38.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.8","retail_price":"0","available":true,"url":"\/products\/hb60702-womens-autumn-new-round-neck-long-sleeve-casual-knitted-shirt?variant=e04bf787-1b8e-459f-b648-941bdb113e21","available_quantity":19,"options":[{"name":"colour","value":"yellow"},{"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":"e04bf787-1b8e-459f-b648-941bdb113e21","product_id":"e58dc17b-1b38-4abc-bbbc-3b547ed0a2d3","title":"yellow-S","weight_unit":"kg","inventory_quantity":19,"sku":"HB60702#P180-yellow-S-A00112486","barcode":"","position":1,"option1":"yellow","option2":"S","option3":"","note":"","image":null,"wholesale_price":[{"price":38.8,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"38.8","retail_price":"0","available":true,"url":"\/products\/hb60702-womens-autumn-new-round-neck-long-sleeve-casual-knitted-shirt?variant=e04bf787-1b8e-459f-b648-941bdb113e21","available_quantity":19,"options":[{"name":"colour","value":"yellow"},{"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 `
`;
}()}