NH35 NH36 NH38 NH39 NH70 NH72 Movement Watch Steel Stem Crown Kit Watch of Parts Winding Stem Modification Replacement Parts
${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 `
`;
}()}
${function() {
const variantData = data.variant || {"id":"ef808925-254e-46a8-93c9-6cf1cbb20dde","product_id":"fb04ef15-74cd-4c3c-a4ec-1ca88879e9b0","title":"Silver","weight_unit":"kg","inventory_quantity":0,"sku":"Silver-292-A0221154","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d35774399fe371f5e7d7f0f0d58a535.jpeg","path":"2d35774399fe371f5e7d7f0f0d58a535.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.67,"min_quantity":1}],"weight":"0","compare_at_price":"13.78","price":"6.67","retail_price":"13.78","available":true,"url":"\/products\/nh35-nh36-nh38-nh39-nh70-nh72-movement-watch-steel-stem-crown-kit-watch-of-parts-winding-stem-modification-replacement-parts?variant=ef808925-254e-46a8-93c9-6cf1cbb20dde","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":52,"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.
Sku : Silver-292-A0221154
Inventory : 999999999
${function(){
const variantData = data.variant || {"id":"ef808925-254e-46a8-93c9-6cf1cbb20dde","product_id":"fb04ef15-74cd-4c3c-a4ec-1ca88879e9b0","title":"Silver","weight_unit":"kg","inventory_quantity":0,"sku":"Silver-292-A0221154","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d35774399fe371f5e7d7f0f0d58a535.jpeg","path":"2d35774399fe371f5e7d7f0f0d58a535.jpeg","width":1024,"height":1024,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":6.67,"min_quantity":1}],"weight":"0","compare_at_price":"13.78","price":"6.67","retail_price":"13.78","available":true,"url":"\/products\/nh35-nh36-nh38-nh39-nh70-nh72-movement-watch-steel-stem-crown-kit-watch-of-parts-winding-stem-modification-replacement-parts?variant=ef808925-254e-46a8-93c9-6cf1cbb20dde","available_quantity":999999999,"options":[{"name":"Color","value":"Silver"}],"off_ratio":52,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
Inventory : ${variantData && variantData.available_quantity}
`
}()}