${function() {
const variantData = data.variant || {"id":"1139a89c-c703-4e7e-8aeb-976d57c3d24b","product_id":"cb29e386-b329-4fdb-b4ee-3a2c6f38592a","title":"BUY 3 GET 2 FREE-mixed color(5 pack)-XL (143-165 lbs)","weight_unit":"kg","inventory_quantity":999,"sku":"sku1684734035264","barcode":"","position":1,"option1":"BUY 3 GET 2 FREE-mixed color(5 pack)","option2":"XL (143-165 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76db016885ae721128e834cb26cc92a1.jpeg","path":"76db016885ae721128e834cb26cc92a1.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"39.99","retail_price":"69.99","available":true,"url":"\/products\/viagebra2022-newest-plus-size-leakproof-lace-cotton-panties-6xl18f5872d-e8f3-45a3-93e5-fdb9be9a950a?variant=1139a89c-c703-4e7e-8aeb-976d57c3d24b","available_quantity":999,"options":[{"name":"Color","value":"BUY 3 GET 2 FREE-mixed color(5 pack)"},{"name":"size","value":"XL (143-165 lbs)"}],"off_ratio":43,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Color
: BUY 3 GET 2 FREE-mixed color(5 pack)
${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
: XL (143-165 lbs)
${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
$39.99
${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":"1139a89c-c703-4e7e-8aeb-976d57c3d24b","product_id":"cb29e386-b329-4fdb-b4ee-3a2c6f38592a","title":"BUY 3 GET 2 FREE-mixed color(5 pack)-XL (143-165 lbs)","weight_unit":"kg","inventory_quantity":999,"sku":"sku1684734035264","barcode":"","position":1,"option1":"BUY 3 GET 2 FREE-mixed color(5 pack)","option2":"XL (143-165 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76db016885ae721128e834cb26cc92a1.jpeg","path":"76db016885ae721128e834cb26cc92a1.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"39.99","retail_price":"69.99","available":true,"url":"\/products\/viagebra2022-newest-plus-size-leakproof-lace-cotton-panties-6xl18f5872d-e8f3-45a3-93e5-fdb9be9a950a?variant=1139a89c-c703-4e7e-8aeb-976d57c3d24b","available_quantity":999,"options":[{"name":"Color","value":"BUY 3 GET 2 FREE-mixed color(5 pack)"},{"name":"size","value":"XL (143-165 lbs)"}],"off_ratio":43,"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 {
return `
`
}
}()}
Buy now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"1139a89c-c703-4e7e-8aeb-976d57c3d24b","product_id":"cb29e386-b329-4fdb-b4ee-3a2c6f38592a","title":"BUY 3 GET 2 FREE-mixed color(5 pack)-XL (143-165 lbs)","weight_unit":"kg","inventory_quantity":999,"sku":"sku1684734035264","barcode":"","position":1,"option1":"BUY 3 GET 2 FREE-mixed color(5 pack)","option2":"XL (143-165 lbs)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/76db016885ae721128e834cb26cc92a1.jpeg","path":"76db016885ae721128e834cb26cc92a1.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"39.99","retail_price":"69.99","available":true,"url":"\/products\/viagebra2022-newest-plus-size-leakproof-lace-cotton-panties-6xl18f5872d-e8f3-45a3-93e5-fdb9be9a950a?variant=1139a89c-c703-4e7e-8aeb-976d57c3d24b","available_quantity":999,"options":[{"name":"Color","value":"BUY 3 GET 2 FREE-mixed color(5 pack)"},{"name":"size","value":"XL (143-165 lbs)"}],"off_ratio":43,"flashsale_info":[],"sales":0};
return `
`
}()}
people are viewing this right now
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('20');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}