Homecoming Dress Sequined Keyhole Halter Dress
${function() {
const variantData = data.variant || {"id":"f351ef25-fe84-4627-b076-f803bb7f2fcc","product_id":"c450042d-be02-49e4-a059-f63330610949","title":"Dark Green-2","weight_unit":"kg","inventory_quantity":999,"sku":"MF-WS15-MGreen-2","barcode":"","position":1,"option1":"Dark Green","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98a0db9a5c24e39a11b8334b28c29ee5.jpeg","path":"98a0db9a5c24e39a11b8334b28c29ee5.jpeg","width":768,"height":1024,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":54.04,"min_quantity":1}],"weight":"0.4","compare_at_price":"59.84","price":"54.04","retail_price":"59.84","available":true,"url":"\/products\/homecoming-dress-sequined-keyhole-halter-dress?variant=f351ef25-fe84-4627-b076-f803bb7f2fcc","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Green"},{"name":"Size","value":"2"}],"off_ratio":10,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Dark Green
${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:
2
${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
$54.04
${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":"f351ef25-fe84-4627-b076-f803bb7f2fcc","product_id":"c450042d-be02-49e4-a059-f63330610949","title":"Dark Green-2","weight_unit":"kg","inventory_quantity":999,"sku":"MF-WS15-MGreen-2","barcode":"","position":1,"option1":"Dark Green","option2":"2","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/98a0db9a5c24e39a11b8334b28c29ee5.jpeg","path":"98a0db9a5c24e39a11b8334b28c29ee5.jpeg","width":768,"height":1024,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":54.04,"min_quantity":1}],"weight":"0.4","compare_at_price":"59.84","price":"54.04","retail_price":"59.84","available":true,"url":"\/products\/homecoming-dress-sequined-keyhole-halter-dress?variant=f351ef25-fe84-4627-b076-f803bb7f2fcc","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Green"},{"name":"Size","value":"2"}],"off_ratio":10,"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.
North America: 10-15 days;
Europe: 5-10 days;