New women's pleated skirt pants with rivets and pleated mini skirt inner shorts W823325
${function() {
const variantData = data.variant || {"id":"16d0793c-e4cd-4975-a53e-097a5b2c53bb","product_id":"b7cafa35-c7a7-4ea6-a3ce-2baaf0497018","title":"Khaki-L","weight_unit":"kg","inventory_quantity":26,"sku":"W823325210-Khaki-L-A001556","barcode":"","position":4,"option1":"Khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a47766856dcfb31b344842066d1e36.jpg","path":"e8a47766856dcfb31b344842066d1e36.jpg","width":2048,"height":1536,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49","retail_price":"0","available":true,"url":"\/products\/new-womens-pleated-skirt-pants-with-rivets-and-pleated-mini-skirt-inner-shorts-w823325?variant=16d0793c-e4cd-4975-a53e-097a5b2c53bb","available_quantity":26,"options":[{"name":"colour","value":"Khaki"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":29};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Colour:
Khaki
${function(){
const optName = "colour";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
L
${function(){
const optName = "size";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (optionValue) : '';
return `${optionValueText} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$49.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"16d0793c-e4cd-4975-a53e-097a5b2c53bb","product_id":"b7cafa35-c7a7-4ea6-a3ce-2baaf0497018","title":"Khaki-L","weight_unit":"kg","inventory_quantity":26,"sku":"W823325210-Khaki-L-A001556","barcode":"","position":4,"option1":"Khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a47766856dcfb31b344842066d1e36.jpg","path":"e8a47766856dcfb31b344842066d1e36.jpg","width":2048,"height":1536,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49","retail_price":"0","available":true,"url":"\/products\/new-womens-pleated-skirt-pants-with-rivets-and-pleated-mini-skirt-inner-shorts-w823325?variant=16d0793c-e4cd-4975-a53e-097a5b2c53bb","available_quantity":26,"options":[{"name":"colour","value":"Khaki"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":29};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"16d0793c-e4cd-4975-a53e-097a5b2c53bb","product_id":"b7cafa35-c7a7-4ea6-a3ce-2baaf0497018","title":"Khaki-L","weight_unit":"kg","inventory_quantity":26,"sku":"W823325210-Khaki-L-A001556","barcode":"","position":4,"option1":"Khaki","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8a47766856dcfb31b344842066d1e36.jpg","path":"e8a47766856dcfb31b344842066d1e36.jpg","width":2048,"height":1536,"alt":"","aspect_ratio":1.3333333333333333},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"49","retail_price":"0","available":true,"url":"\/products\/new-womens-pleated-skirt-pants-with-rivets-and-pleated-mini-skirt-inner-shorts-w823325?variant=16d0793c-e4cd-4975-a53e-097a5b2c53bb","available_quantity":26,"options":[{"name":"colour","value":"Khaki"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":29};
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 `
`;
}()}