Women's Sweater Dress Wrap V-Neck Belted Cashmere Knitted Dress
${function() {
const variantData = data.variant || {"id":"48d724b5-449a-4550-a37a-55e55eb9a9fd","product_id":"38bd13ef-d192-461a-b593-70e62a5da639","title":"White-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-616926831499-Whi","barcode":"","position":1,"option1":"White","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a492f24261b6a9c7c44c48f5a1ffb1c0.jpeg","path":"a492f24261b6a9c7c44c48f5a1ffb1c0.jpeg","width":746,"height":745,"alt":"","aspect_ratio":1.0013422818791946},"wholesale_price":[{"price":51.74,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.99","price":"51.74","retail_price":"44.99","available":true,"url":"\/products\/womens-sweater-dress-wrap-v-neck-belted-cashmere-knitted-dress?variant=48d724b5-449a-4550-a37a-55e55eb9a9fd","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
White
${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:
One Size
${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
$51.74
${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":"48d724b5-449a-4550-a37a-55e55eb9a9fd","product_id":"38bd13ef-d192-461a-b593-70e62a5da639","title":"White-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-616926831499-Whi","barcode":"","position":1,"option1":"White","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a492f24261b6a9c7c44c48f5a1ffb1c0.jpeg","path":"a492f24261b6a9c7c44c48f5a1ffb1c0.jpeg","width":746,"height":745,"alt":"","aspect_ratio":1.0013422818791946},"wholesale_price":[{"price":51.74,"min_quantity":1}],"weight":"0.5","compare_at_price":"44.99","price":"51.74","retail_price":"44.99","available":true,"url":"\/products\/womens-sweater-dress-wrap-v-neck-belted-cashmere-knitted-dress?variant=48d724b5-449a-4550-a37a-55e55eb9a9fd","available_quantity":1000,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"One Size"}],"off_ratio":0,"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.