Hepburn Style Patchwork O Neck Sleeveless 1950s Dress
${function() {
const variantData = data.variant || {"id":"51bfe00e-aa75-4536-bc19-819201002064","product_id":"fb1fb462-0ee9-4772-8ac1-d52249210d4a","title":"Yellow-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"MISSFOX-MI55-YELLOW-2XL","barcode":"","position":1,"option1":"Yellow","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d8f51ae9db64af768b95b6e871502a6.jpeg","path":"2d8f51ae9db64af768b95b6e871502a6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.79,"min_quantity":1}],"weight":"0.35","compare_at_price":"43.73","price":"36.79","retail_price":"43.73","available":true,"url":"\/products\/hepburn-style-patchwork-o-neck-sleeveless-1950s-dress?variant=51bfe00e-aa75-4536-bc19-819201002064","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2XL"}],"off_ratio":16,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Yellow
${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:
2XL
${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
$36.79
${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":"51bfe00e-aa75-4536-bc19-819201002064","product_id":"fb1fb462-0ee9-4772-8ac1-d52249210d4a","title":"Yellow-2XL","weight_unit":"kg","inventory_quantity":1000,"sku":"MISSFOX-MI55-YELLOW-2XL","barcode":"","position":1,"option1":"Yellow","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d8f51ae9db64af768b95b6e871502a6.jpeg","path":"2d8f51ae9db64af768b95b6e871502a6.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":36.79,"min_quantity":1}],"weight":"0.35","compare_at_price":"43.73","price":"36.79","retail_price":"43.73","available":true,"url":"\/products\/hepburn-style-patchwork-o-neck-sleeveless-1950s-dress?variant=51bfe00e-aa75-4536-bc19-819201002064","available_quantity":999999999,"options":[{"name":"Color","value":"Yellow"},{"name":"Size","value":"2XL"}],"off_ratio":16,"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.