Women's pencil silhouette High Waist Stretchy Office Midi Pencil Skirt
${function() {
const variantData = data.variant || {"id":"8b4ca329-6f0b-4ee5-9f3c-6098e4e3a0d6","product_id":"e3a8de79-cad5-457f-86f8-dd7079e9f6eb","title":"Red-21021tebz-XX-Large","weight_unit":"kg","inventory_quantity":0,"sku":"B07XR6F2YW","barcode":"","position":1,"option1":"Red-21021tebz","option2":"XX-Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f0597bf96ea71c51240980cf5e74c7b.jpeg","path":"7f0597bf96ea71c51240980cf5e74c7b.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"59.99","retail_price":"71.99","available":false,"url":"\/products\/womens-pencil-silhouette-high-waist-stretchy-office-midi-pencil-skirt?variant=8b4ca329-6f0b-4ee5-9f3c-6098e4e3a0d6","available_quantity":0,"options":[{"name":"Color","value":"Red-21021tebz"},{"name":"Size","value":"XX-Large"}],"off_ratio":17,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red-21021tebz
${function(){
const optName = "Color";
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:
XX-Large
${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}
`
}()}
Sold out
$59.99
${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":"8b4ca329-6f0b-4ee5-9f3c-6098e4e3a0d6","product_id":"e3a8de79-cad5-457f-86f8-dd7079e9f6eb","title":"Red-21021tebz-XX-Large","weight_unit":"kg","inventory_quantity":0,"sku":"B07XR6F2YW","barcode":"","position":1,"option1":"Red-21021tebz","option2":"XX-Large","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7f0597bf96ea71c51240980cf5e74c7b.jpeg","path":"7f0597bf96ea71c51240980cf5e74c7b.jpeg","width":1000,"height":1500,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":59.99,"min_quantity":1}],"weight":"0","compare_at_price":"71.99","price":"59.99","retail_price":"71.99","available":false,"url":"\/products\/womens-pencil-silhouette-high-waist-stretchy-office-midi-pencil-skirt?variant=8b4ca329-6f0b-4ee5-9f3c-6098e4e3a0d6","available_quantity":0,"options":[{"name":"Color","value":"Red-21021tebz"},{"name":"Size","value":"XX-Large"}],"off_ratio":17,"flashsale_info":[],"sales":0};
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.