LacyNighty™ Deep Desire
${function() {
const variantData = data.variant || {"id":"ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","product_id":"286a32de-3a4b-46fa-9d7b-e82c36e5dfb7","title":"Pink-XS (90-110 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"XS (90-110 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95122b8cdbf97ce6a68db6814079fe85.jpeg","path":"95122b8cdbf97ce6a68db6814079fe85.jpeg","width":1340,"height":1785,"alt":"Lovingerie - LacyNighty\u2122 Deep Desire","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":27,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"27","retail_price":"50","available":true,"url":"\/products\/lacynighty\u2122-deep-desire?variant=ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS (90-110 lbs)"}],"off_ratio":46,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Pink
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Size:
XS (90-110 lbs)
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$27.00
${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":"ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","product_id":"286a32de-3a4b-46fa-9d7b-e82c36e5dfb7","title":"Pink-XS (90-110 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"XS (90-110 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95122b8cdbf97ce6a68db6814079fe85.jpeg","path":"95122b8cdbf97ce6a68db6814079fe85.jpeg","width":1340,"height":1785,"alt":"Lovingerie - LacyNighty\u2122 Deep Desire","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":27,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"27","retail_price":"50","available":true,"url":"\/products\/lacynighty\u2122-deep-desire?variant=ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS (90-110 lbs)"}],"off_ratio":46,"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":"ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","product_id":"286a32de-3a4b-46fa-9d7b-e82c36e5dfb7","title":"Pink-XS (90-110 lbs)","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Pink","option2":"XS (90-110 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95122b8cdbf97ce6a68db6814079fe85.jpeg","path":"95122b8cdbf97ce6a68db6814079fe85.jpeg","width":1340,"height":1785,"alt":"Lovingerie - LacyNighty\u2122 Deep Desire","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":27,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"27","retail_price":"50","available":true,"url":"\/products\/lacynighty\u2122-deep-desire?variant=ecf070c5-f8c2-4b19-aa5f-f1ac01261f96","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"XS (90-110 lbs)"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
`
}()}