Vintage Boho Purple Floral Embroidered Color Block Patchwork Linen V-neck Tunic
${function() {
const variantData = data.variant || {"id":"d28a82cd-7bb3-420a-9d9d-f2f7db36f270","product_id":"2561a780-ac79-4b50-8a47-e3941c5001d8","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"DZ-203480-LSX-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/watermark50b0276c0c78372af4ce0a2053c01797.jpeg","path":"watermark50b0276c0c78372af4ce0a2053c01797.jpeg","width":736,"height":736,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.44,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.44","retail_price":"0","available":true,"url":"\/products\/vintage-boho-purple-floral-embroidered-color-block-patchwork-linen-v-neck-tunic-dak6b930dad9-d6d5-491a-a2d5-11afc69e3cfb?variant=d28a82cd-7bb3-420a-9d9d-f2f7db36f270","available_quantity":999999999,"options":[{"name":"Color","value":"Red"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Red
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
S
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$30.44
${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":"d28a82cd-7bb3-420a-9d9d-f2f7db36f270","product_id":"2561a780-ac79-4b50-8a47-e3941c5001d8","title":"Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"DZ-203480-LSX-Red-S","barcode":"","position":1,"option1":"Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/watermark50b0276c0c78372af4ce0a2053c01797.jpeg","path":"watermark50b0276c0c78372af4ce0a2053c01797.jpeg","width":736,"height":736,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.44,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.44","retail_price":"0","available":true,"url":"\/products\/vintage-boho-purple-floral-embroidered-color-block-patchwork-linen-v-neck-tunic-dak6b930dad9-d6d5-491a-a2d5-11afc69e3cfb?variant=d28a82cd-7bb3-420a-9d9d-f2f7db36f270","available_quantity":999999999,"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.