Elegant Short Sleeve Ruffled Satin Silk Party Maxi Dress
${function() {
const variantData = data.variant || {"id":"2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","product_id":"5d77704a-ea16-4b6f-99e0-6b1c4be5abb1","title":"M-White","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"M","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","path":"ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","width":1048,"height":1221,"alt":"","aspect_ratio":0.8583128583128583},"wholesale_price":[{"price":55.98,"min_quantity":1}],"weight":"0","compare_at_price":"127.49","price":"55.98","retail_price":"127.49","available":true,"url":"\/products\/elegant-short-sleeve-ruffled-satin-silk-party-maxi-dress?variant=2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"White"}],"off_ratio":56,"flashsale_info":[],"sales":3};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Size:
M
${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}
`
}()}
Color:
White
${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}
`
}()}
Add to cart
$55.98
${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":"2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","product_id":"5d77704a-ea16-4b6f-99e0-6b1c4be5abb1","title":"M-White","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"M","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","path":"ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","width":1048,"height":1221,"alt":"","aspect_ratio":0.8583128583128583},"wholesale_price":[{"price":55.98,"min_quantity":1}],"weight":"0","compare_at_price":"127.49","price":"55.98","retail_price":"127.49","available":true,"url":"\/products\/elegant-short-sleeve-ruffled-satin-silk-party-maxi-dress?variant=2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"White"}],"off_ratio":56,"flashsale_info":[],"sales":3};
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":"2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","product_id":"5d77704a-ea16-4b6f-99e0-6b1c4be5abb1","title":"M-White","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":3,"option1":"M","option2":"White","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","path":"ca40a29c19cb31ab56b7c212c7b5e4e1.jpg","width":1048,"height":1221,"alt":"","aspect_ratio":0.8583128583128583},"wholesale_price":[{"price":55.98,"min_quantity":1}],"weight":"0","compare_at_price":"127.49","price":"55.98","retail_price":"127.49","available":true,"url":"\/products\/elegant-short-sleeve-ruffled-satin-silk-party-maxi-dress?variant=2f2dcf7d-3fc6-42be-8d4e-7747e0483b73","available_quantity":999999999,"options":[{"name":"Size","value":"M"},{"name":"Color","value":"White"}],"off_ratio":56,"flashsale_info":[],"sales":3};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}