W123016 St * Early Autumn New Women's Outwear Stand up Collar Bottom
${function() {
const variantData = data.variant || {"id":"d8085181-c0e8-45f0-bb76-341a2add7e05","product_id":"0c9ecf4a-dd1b-4dda-8468-5cfb69768a2f","title":"\u6854\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W123016160-\u6854\u8272-S-A0012588","barcode":"","position":1,"option1":"\u6854\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26e5efb73c2c3cfa12c95ce0b17d00f1.jpg","path":"26e5efb73c2c3cfa12c95ce0b17d00f1.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/w123016-st-early-autumn-new-womens-outwear-stand-up-collar-bottom?variant=d8085181-c0e8-45f0-bb76-341a2add7e05","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u6854\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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":"d8085181-c0e8-45f0-bb76-341a2add7e05","product_id":"0c9ecf4a-dd1b-4dda-8468-5cfb69768a2f","title":"\u6854\u8272-S","weight_unit":"kg","inventory_quantity":30,"sku":"W123016160-\u6854\u8272-S-A0012588","barcode":"","position":1,"option1":"\u6854\u8272","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/26e5efb73c2c3cfa12c95ce0b17d00f1.jpg","path":"26e5efb73c2c3cfa12c95ce0b17d00f1.jpg","width":1080,"height":1080,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"39","retail_price":"0","available":true,"url":"\/products\/w123016-st-early-autumn-new-womens-outwear-stand-up-collar-bottom?variant=d8085181-c0e8-45f0-bb76-341a2add7e05","available_quantity":30,"options":[{"name":"\u989c\u8272","value":"\u6854\u8272"},{"name":"\u5c3a\u5bf8","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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 `
`;
}()}