W624106 Women's medium high waisted slit slightly flared pants
${function() {
const variantData = data.variant || {"id":"44cccbf8-2a5a-44b3-9b6a-fc1f348b9746","product_id":"c6c485a6-a4aa-41a1-ad16-b80f5bb9bd37","title":"black-XS","weight_unit":"kg","inventory_quantity":50,"sku":"W624106210-black-XS-A0015381","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a09d37f8a4bfd6a888c96914ab7c13fe.jpg","path":"a09d37f8a4bfd6a888c96914ab7c13fe.jpg","width":1280,"height":1920,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/w624106-womens-medium-high-waisted-slit-slightly-flared-pants?variant=44cccbf8-2a5a-44b3-9b6a-fc1f348b9746","available_quantity":50,"options":[{"name":"colour","value":"black"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":11};
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":"44cccbf8-2a5a-44b3-9b6a-fc1f348b9746","product_id":"c6c485a6-a4aa-41a1-ad16-b80f5bb9bd37","title":"black-XS","weight_unit":"kg","inventory_quantity":50,"sku":"W624106210-black-XS-A0015381","barcode":"","position":1,"option1":"black","option2":"XS","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a09d37f8a4bfd6a888c96914ab7c13fe.jpg","path":"a09d37f8a4bfd6a888c96914ab7c13fe.jpg","width":1280,"height":1920,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":45,"min_quantity":1}],"weight":"0.4","compare_at_price":"0","price":"45","retail_price":"0","available":true,"url":"\/products\/w624106-womens-medium-high-waisted-slit-slightly-flared-pants?variant=44cccbf8-2a5a-44b3-9b6a-fc1f348b9746","available_quantity":50,"options":[{"name":"colour","value":"black"},{"name":"size","value":"XS"}],"off_ratio":0,"flashsale_info":[],"sales":11};
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 `
`;
}()}