Baby I'm A Queen Lingerie Set
${function() {
const variantData = data.variant || {"id":"37247089-87a3-4f2c-9f94-df2e5df2e267","product_id":"aacf911b-a23f-47e3-ac9b-115114df6547","title":"Black-S (110-130 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"1005005367657211-Black-S","barcode":"","position":1,"option1":"Black","option2":"S (110-130 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/760d8b8c76eab7f30aaea5f58132fd30.jpeg","path":"760d8b8c76eab7f30aaea5f58132fd30.jpeg","width":1080,"height":1349,"alt":"Lovingerie - Baby I'm A Queen Lingerie Set","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":52.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.95","retail_price":"0","available":true,"url":"\/products\/baby-im-a-queen-lingerie-set?variant=37247089-87a3-4f2c-9f94-df2e5df2e267","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S (110-130 lbs)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Black
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
S (110-130 lbs)
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$52.95
${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":"37247089-87a3-4f2c-9f94-df2e5df2e267","product_id":"aacf911b-a23f-47e3-ac9b-115114df6547","title":"Black-S (110-130 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"1005005367657211-Black-S","barcode":"","position":1,"option1":"Black","option2":"S (110-130 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/760d8b8c76eab7f30aaea5f58132fd30.jpeg","path":"760d8b8c76eab7f30aaea5f58132fd30.jpeg","width":1080,"height":1349,"alt":"Lovingerie - Baby I'm A Queen Lingerie Set","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":52.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.95","retail_price":"0","available":true,"url":"\/products\/baby-im-a-queen-lingerie-set?variant=37247089-87a3-4f2c-9f94-df2e5df2e267","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S (110-130 lbs)"}],"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.
${function(){
const variantData = data.variant || {"id":"37247089-87a3-4f2c-9f94-df2e5df2e267","product_id":"aacf911b-a23f-47e3-ac9b-115114df6547","title":"Black-S (110-130 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"1005005367657211-Black-S","barcode":"","position":1,"option1":"Black","option2":"S (110-130 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/760d8b8c76eab7f30aaea5f58132fd30.jpeg","path":"760d8b8c76eab7f30aaea5f58132fd30.jpeg","width":1080,"height":1349,"alt":"Lovingerie - Baby I'm A Queen Lingerie Set","aspect_ratio":0.8005930318754633},"wholesale_price":[{"price":52.95,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"52.95","retail_price":"0","available":true,"url":"\/products\/baby-im-a-queen-lingerie-set?variant=37247089-87a3-4f2c-9f94-df2e5df2e267","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S (110-130 lbs)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}