G/FOR * 24 Spring/Summer New Waistpack, One Pack Three Use, Waistpack, Hanging Bag H5007
${function() {
const variantData = data.variant || {"id":"e4de4328-ce4c-4e43-af16-d6f5639a877d","product_id":"484df563-85be-4137-bd4b-2986a72b8b93","title":"Pink","weight_unit":"kg","inventory_quantity":0,"sku":"{H5007#P170}-Pink-A001539","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/903f8779baee35ee10dd1da313fca823.jpg","path":"903f8779baee35ee10dd1da313fca823.jpg","width":610,"height":567,"alt":"","aspect_ratio":1.0758377425044092},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"36","retail_price":"55","available":false,"url":"\/products\/g-for-24-spring-summer-new-waistpack-one-pack-three-use-waistpack-hanging-bag-h5007?variant=e4de4328-ce4c-4e43-af16-d6f5639a877d","available_quantity":0,"options":[{"name":"Color","value":"Pink"}],"off_ratio":35,"flashsale_info":[],"sales":36};
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":"e4de4328-ce4c-4e43-af16-d6f5639a877d","product_id":"484df563-85be-4137-bd4b-2986a72b8b93","title":"Pink","weight_unit":"kg","inventory_quantity":0,"sku":"{H5007#P170}-Pink-A001539","barcode":"","position":1,"option1":"Pink","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/903f8779baee35ee10dd1da313fca823.jpg","path":"903f8779baee35ee10dd1da313fca823.jpg","width":610,"height":567,"alt":"","aspect_ratio":1.0758377425044092},"wholesale_price":[{"price":36,"min_quantity":1}],"weight":"0","compare_at_price":"55","price":"36","retail_price":"55","available":false,"url":"\/products\/g-for-24-spring-summer-new-waistpack-one-pack-three-use-waistpack-hanging-bag-h5007?variant=e4de4328-ce4c-4e43-af16-d6f5639a877d","available_quantity":0,"options":[{"name":"Color","value":"Pink"}],"off_ratio":35,"flashsale_info":[],"sales":36};
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 `
`;
}()}