Swing Dresses V-neck Short Sleeve Hepburn Style 50s Vintage Dresses
${function() {
const variantData = data.variant || {"id":"e2dda4bd-2b46-4942-ada1-0e047649261b","product_id":"4c48aa48-5a47-455d-8cfc-7cb24d2c9e0d","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-614562509027-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d84ea216456eef21b0460a5212ff5af6.jpeg","path":"d84ea216456eef21b0460a5212ff5af6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.69,"min_quantity":1}],"weight":"0.35","compare_at_price":"37.99","price":"43.69","retail_price":"37.99","available":true,"url":"\/products\/swing-dresses-v-neck-short-sleeve-hepburn-style-50s-vintage-dresses?variant=e2dda4bd-2b46-4942-ada1-0e047649261b","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red
${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:
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}
`
}()}
Add to cart
$43.69
${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":"e2dda4bd-2b46-4942-ada1-0e047649261b","product_id":"4c48aa48-5a47-455d-8cfc-7cb24d2c9e0d","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MFOX-614562509027-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d84ea216456eef21b0460a5212ff5af6.jpeg","path":"d84ea216456eef21b0460a5212ff5af6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":43.69,"min_quantity":1}],"weight":"0.35","compare_at_price":"37.99","price":"43.69","retail_price":"37.99","available":true,"url":"\/products\/swing-dresses-v-neck-short-sleeve-hepburn-style-50s-vintage-dresses?variant=e2dda4bd-2b46-4942-ada1-0e047649261b","available_quantity":1000,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"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.