M623280 New Spring/Summer Men's Multi Pocket Feet Design Pants
${function() {
const variantData = data.variant || {"id":"b1a7cbbe-9520-46b7-87b3-fa687638f1cd","product_id":"aa86cf9d-9f9f-4651-af5f-53b2fe1a5d93","title":"\u6d45\u5361\u5176-M","weight_unit":"kg","inventory_quantity":46,"sku":"M623280230-\u6d45\u5361\u5176-M-A0012264","barcode":"","position":1,"option1":"\u6d45\u5361\u5176","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e463016bb87e2620c9f435a000841de3.jpg","path":"e463016bb87e2620c9f435a000841de3.jpg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"48","retail_price":"0","available":true,"url":"\/products\/m623280-new-spring-summer-mens-multi-pocket-feet-design-pants?variant=b1a7cbbe-9520-46b7-87b3-fa687638f1cd","available_quantity":46,"options":[{"name":"\u989c\u8272","value":"\u6d45\u5361\u5176"},{"name":"\u5c3a\u5bf8","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":40};
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":"b1a7cbbe-9520-46b7-87b3-fa687638f1cd","product_id":"aa86cf9d-9f9f-4651-af5f-53b2fe1a5d93","title":"\u6d45\u5361\u5176-M","weight_unit":"kg","inventory_quantity":46,"sku":"M623280230-\u6d45\u5361\u5176-M-A0012264","barcode":"","position":1,"option1":"\u6d45\u5361\u5176","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e463016bb87e2620c9f435a000841de3.jpg","path":"e463016bb87e2620c9f435a000841de3.jpg","width":1080,"height":1350,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":48,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"48","retail_price":"0","available":true,"url":"\/products\/m623280-new-spring-summer-mens-multi-pocket-feet-design-pants?variant=b1a7cbbe-9520-46b7-87b3-fa687638f1cd","available_quantity":46,"options":[{"name":"\u989c\u8272","value":"\u6d45\u5361\u5176"},{"name":"\u5c3a\u5bf8","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":40};
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 `
`;
}()}