O Neck Pockets Slit Midi Dress
${function() {
const variantData = data.variant || {"id":"cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","product_id":"79beb3ed-a145-4bfc-b625-87a085546abf","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1227-S-Khaki","barcode":"","position":1,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fc032164f62494303abf78e0d26948f.jpeg","path":"9fc032164f62494303abf78e0d26948f.jpeg","width":500,"height":750,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"38.99","retail_price":"59.99","available":true,"url":"\/products\/o-neck-pockets-slit-midi-dress?variant=cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","available_quantity":1000,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":35,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
people are viewing this right now
Size:
S
${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}
`
}()}
Color:
Khaki
${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}
`
}()}
Add to cart
$38.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":"cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","product_id":"79beb3ed-a145-4bfc-b625-87a085546abf","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1227-S-Khaki","barcode":"","position":1,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fc032164f62494303abf78e0d26948f.jpeg","path":"9fc032164f62494303abf78e0d26948f.jpeg","width":500,"height":750,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"38.99","retail_price":"59.99","available":true,"url":"\/products\/o-neck-pockets-slit-midi-dress?variant=cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","available_quantity":1000,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":35,"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.
${function(){
const variantData = data.variant || {"id":"cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","product_id":"79beb3ed-a145-4bfc-b625-87a085546abf","title":"S-Khaki","weight_unit":"kg","inventory_quantity":1000,"sku":"MR1227-S-Khaki","barcode":"","position":1,"option1":"S","option2":"Khaki","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9fc032164f62494303abf78e0d26948f.jpeg","path":"9fc032164f62494303abf78e0d26948f.jpeg","width":500,"height":750,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":38.99,"min_quantity":1}],"weight":"0","compare_at_price":"59.99","price":"38.99","retail_price":"59.99","available":true,"url":"\/products\/o-neck-pockets-slit-midi-dress?variant=cedb8e9e-1cd1-4c94-9cb7-76f120190d8c","available_quantity":1000,"options":[{"name":"Size","value":"S"},{"name":"Color","value":"Khaki"}],"off_ratio":35,"flashsale_info":[],"sales":0};
return `
`
}()}