✨2024 Sequin Baby Doll Dress
${function() {
const variantData = data.variant || {"id":"35d743b3-7e8c-425f-9452-f5fd77aa4c73","product_id":"53532d5d-4daf-45a6-8da8-db6dbb3af170","title":"Unicorn-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZF-D-0082-2023 Summer Sale -49%-Sequin -Unicorn-S","barcode":"","position":1,"option1":"Unicorn","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09959576f55128120a936d4ac65bf327.jpeg","path":"09959576f55128120a936d4ac65bf327.jpeg","width":2752,"height":4128,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.99","retail_price":"0","available":true,"url":"\/products\/2024-summer-sale-49-\u2728sequin-baby-doll-dressec8936a3-827d-4ec8-9832-db8c82973ac3?variant=35d743b3-7e8c-425f-9452-f5fd77aa4c73","available_quantity":999999999,"options":[{"name":"Color","value":"Unicorn"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Color:
Unicorn
${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
$41.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":"35d743b3-7e8c-425f-9452-f5fd77aa4c73","product_id":"53532d5d-4daf-45a6-8da8-db6dbb3af170","title":"Unicorn-S","weight_unit":"kg","inventory_quantity":1000,"sku":"ZF-D-0082-2023 Summer Sale -49%-Sequin -Unicorn-S","barcode":"","position":1,"option1":"Unicorn","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/09959576f55128120a936d4ac65bf327.jpeg","path":"09959576f55128120a936d4ac65bf327.jpeg","width":2752,"height":4128,"alt":"","aspect_ratio":0.6666666666666666},"wholesale_price":[{"price":41.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"41.99","retail_price":"0","available":true,"url":"\/products\/2024-summer-sale-49-\u2728sequin-baby-doll-dressec8936a3-827d-4ec8-9832-db8c82973ac3?variant=35d743b3-7e8c-425f-9452-f5fd77aa4c73","available_quantity":999999999,"options":[{"name":"Color","value":"Unicorn"},{"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.