Sunglasses holder
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('30');
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 `
`;
}()}
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"13c7903f-589f-4298-b945-b9d3da5abbcf","product_id":"a1355486-5806-4635-ab60-9f15530269e4","title":"White","weight_unit":"kg","inventory_quantity":0,"sku":"SU050321001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"21","price":"15.99","retail_price":"21","available":true,"url":"\/products\/yy-yjh-13?variant=13c7903f-589f-4298-b945-b9d3da5abbcf","available_quantity":999999999,"options":[{"name":"color","value":"White"}],"off_ratio":24,"flashsale_info":[],"sales":0};
const saveType = "amount";
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":"13c7903f-589f-4298-b945-b9d3da5abbcf","product_id":"a1355486-5806-4635-ab60-9f15530269e4","title":"White","weight_unit":"kg","inventory_quantity":0,"sku":"SU050321001","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":15.99,"min_quantity":1}],"weight":"0","compare_at_price":"21","price":"15.99","retail_price":"21","available":true,"url":"\/products\/yy-yjh-13?variant=13c7903f-589f-4298-b945-b9d3da5abbcf","available_quantity":999999999,"options":[{"name":"color","value":"White"}],"off_ratio":24,"flashsale_info":[],"sales":0};
return `
`
}()}
The current produc does not participate any Rebate. Switch the participating product to check the design.
(This prompt will not be displayed on the client-side.)