Women's casual zipper sweatshirt jacket and wide leg pants set
${function() {
const variantData = data.variant || {"id":"adf06897-50ef-46a7-be99-be6c5de1f477","product_id":"2219e06d-c782-4a65-8756-06e5beb0b7be","title":"Green-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSGJ240904034-Green-S(US 6-8)","barcode":"","position":1,"option1":"Green","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec07a91308c5b9eebedf20016a5c8ab0.jpeg","path":"ec07a91308c5b9eebedf20016a5c8ab0.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"19.99","retail_price":"48.99","available":true,"url":"\/products\/womens-casual-zipper-sweatshirt-jacket-and-wide-leg-pants-set?variant=adf06897-50ef-46a7-be99-be6c5de1f477","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":59,"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}
`
}()}
${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":"adf06897-50ef-46a7-be99-be6c5de1f477","product_id":"2219e06d-c782-4a65-8756-06e5beb0b7be","title":"Green-S(US 6-8)","weight_unit":"kg","inventory_quantity":1000,"sku":"YSGJ240904034-Green-S(US 6-8)","barcode":"","position":1,"option1":"Green","option2":"S(US 6-8)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ec07a91308c5b9eebedf20016a5c8ab0.jpeg","path":"ec07a91308c5b9eebedf20016a5c8ab0.jpeg","width":800,"height":1200,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"19.99","retail_price":"48.99","available":true,"url":"\/products\/womens-casual-zipper-sweatshirt-jacket-and-wide-leg-pants-set?variant=adf06897-50ef-46a7-be99-be6c5de1f477","available_quantity":999999999,"options":[{"name":"color","value":"Green"},{"name":"size","value":"S(US 6-8)"}],"off_ratio":59,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}