St * New Horseshoe Button Hollow Adjustable Size Women's Belt A1232640
${function() {
const variantData = data.variant || {"id":"2270291b-2df0-4c2d-b432-1946ba626408","product_id":"a693cc9a-7aa4-4a5c-923b-44f2d578b53f","title":"black-Width 3cm, length 98cm","weight_unit":"kg","inventory_quantity":47,"sku":"A123264090-black-Width 3cm, length 98cm-A001433","barcode":"","position":1,"option1":"black","option2":"Width 3cm, length 98cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67ba9f1504f9581aef6eb736ff686341.jpg","path":"67ba9f1504f9581aef6eb736ff686341.jpg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28","retail_price":"0","available":true,"url":"\/products\/st-new-horseshoe-button-hollow-adjustable-size-womens-belt-a1232640?variant=2270291b-2df0-4c2d-b432-1946ba626408","available_quantity":47,"options":[{"name":"colour","value":"black"},{"name":"size","value":"Width 3cm, length 98cm"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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":"2270291b-2df0-4c2d-b432-1946ba626408","product_id":"a693cc9a-7aa4-4a5c-923b-44f2d578b53f","title":"black-Width 3cm, length 98cm","weight_unit":"kg","inventory_quantity":47,"sku":"A123264090-black-Width 3cm, length 98cm-A001433","barcode":"","position":1,"option1":"black","option2":"Width 3cm, length 98cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/67ba9f1504f9581aef6eb736ff686341.jpg","path":"67ba9f1504f9581aef6eb736ff686341.jpg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28","retail_price":"0","available":true,"url":"\/products\/st-new-horseshoe-button-hollow-adjustable-size-womens-belt-a1232640?variant=2270291b-2df0-4c2d-b432-1946ba626408","available_quantity":47,"options":[{"name":"colour","value":"black"},{"name":"size","value":"Width 3cm, length 98cm"}],"off_ratio":0,"flashsale_info":[],"sales":10};
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 `
`;
}()}