Lace-Up Backless Sexy Nightdress
${function() {
const variantData = data.variant || {"id":"b764f046-ce07-4f58-a0de-f4e34cc919a3","product_id":"cb5d71ce-071e-4042-b781-be211080fe31","title":"One Size (80 - 190lbs)-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"One Size (80 - 190lbs)","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0257f71f37f055d51d8fa022d336b88.png","path":"a0257f71f37f055d51d8fa022d336b88.png","width":900,"height":1200,"alt":"Lovingerie - Lace-Up Backless Sexy Nightdress","aspect_ratio":0.75},"wholesale_price":[{"price":33.55,"min_quantity":1}],"weight":"0","compare_at_price":"89.55","price":"33.55","retail_price":"89.55","available":true,"url":"\/products\/lace-up-backless-sexy-nightdress?variant=b764f046-ce07-4f58-a0de-f4e34cc919a3","available_quantity":999999999,"options":[{"name":"Size","value":"One Size (80 - 190lbs)"},{"name":"color","value":"Black"}],"off_ratio":63,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
One Size (80 - 190lbs)
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
color:
Black
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$33.55
${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":"b764f046-ce07-4f58-a0de-f4e34cc919a3","product_id":"cb5d71ce-071e-4042-b781-be211080fe31","title":"One Size (80 - 190lbs)-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"One Size (80 - 190lbs)","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0257f71f37f055d51d8fa022d336b88.png","path":"a0257f71f37f055d51d8fa022d336b88.png","width":900,"height":1200,"alt":"Lovingerie - Lace-Up Backless Sexy Nightdress","aspect_ratio":0.75},"wholesale_price":[{"price":33.55,"min_quantity":1}],"weight":"0","compare_at_price":"89.55","price":"33.55","retail_price":"89.55","available":true,"url":"\/products\/lace-up-backless-sexy-nightdress?variant=b764f046-ce07-4f58-a0de-f4e34cc919a3","available_quantity":999999999,"options":[{"name":"Size","value":"One Size (80 - 190lbs)"},{"name":"color","value":"Black"}],"off_ratio":63,"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.
${function(){
const variantData = data.variant || {"id":"b764f046-ce07-4f58-a0de-f4e34cc919a3","product_id":"cb5d71ce-071e-4042-b781-be211080fe31","title":"One Size (80 - 190lbs)-Black","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"One Size (80 - 190lbs)","option2":"Black","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a0257f71f37f055d51d8fa022d336b88.png","path":"a0257f71f37f055d51d8fa022d336b88.png","width":900,"height":1200,"alt":"Lovingerie - Lace-Up Backless Sexy Nightdress","aspect_ratio":0.75},"wholesale_price":[{"price":33.55,"min_quantity":1}],"weight":"0","compare_at_price":"89.55","price":"33.55","retail_price":"89.55","available":true,"url":"\/products\/lace-up-backless-sexy-nightdress?variant=b764f046-ce07-4f58-a0de-f4e34cc919a3","available_quantity":999999999,"options":[{"name":"Size","value":"One Size (80 - 190lbs)"},{"name":"color","value":"Black"}],"off_ratio":63,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}