Abstract Floral Puff Sleeve Midi Dress
${function() {
const variantData = data.variant || {"id":"38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","product_id":"84fb6821-1769-4725-9c67-540ee235b22e","title":"Navy blue-XL","weight_unit":"kg","inventory_quantity":1,"sku":"XJG2489-NB1L","barcode":"","position":4,"option1":"Navy blue","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","path":"7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/midi-short-sleeve-pretty-flower-print-shirt-collar-layered-dress-g2489?variant=38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","available_quantity":1,"options":[{"name":"Color","value":"Navy blue"},{"name":"Size","value":"XL"}],"off_ratio":46,"flashsale_info":[],"sales":102};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Navy blue
${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:
XL
${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
$24.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":"38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","product_id":"84fb6821-1769-4725-9c67-540ee235b22e","title":"Navy blue-XL","weight_unit":"kg","inventory_quantity":1,"sku":"XJG2489-NB1L","barcode":"","position":4,"option1":"Navy blue","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","path":"7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/midi-short-sleeve-pretty-flower-print-shirt-collar-layered-dress-g2489?variant=38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","available_quantity":1,"options":[{"name":"Color","value":"Navy blue"},{"name":"Size","value":"XL"}],"off_ratio":46,"flashsale_info":[],"sales":102};
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":"38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","product_id":"84fb6821-1769-4725-9c67-540ee235b22e","title":"Navy blue-XL","weight_unit":"kg","inventory_quantity":1,"sku":"XJG2489-NB1L","barcode":"","position":4,"option1":"Navy blue","option2":"XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","path":"7c7f9222c1adf9b5d48408e5f62a9aa8.jpeg","width":600,"height":900,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"45.99","price":"24.99","retail_price":"45.99","available":true,"url":"\/products\/midi-short-sleeve-pretty-flower-print-shirt-collar-layered-dress-g2489?variant=38a5ddb9-606a-41c3-a6c8-fb8a82abe4f0","available_quantity":1,"options":[{"name":"Color","value":"Navy blue"},{"name":"Size","value":"XL"}],"off_ratio":46,"flashsale_info":[],"sales":102};
return `
`
}()}