BUY 1 GET 2 FREE - 2023 Front Button Breathable Skin-Friendly Cotton Bra
${function() {
const variantData = data.variant || {"id":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"1be52e1c-f690-4e78-bc93-70292fae6057","title":"pink-3-pcs-l","weight_unit":"kg","inventory_quantity":1000,"sku":"BUY-1--1882-1","barcode":"","position":1,"option1":"pink-3-pcs","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","path":"3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.98","price":"27.99","retail_price":"69.98","available":true,"url":"\/products\/buy-1-get-2-free-2023-front-button-breathable-skin-friendly-cotton-bra-7522902-32562841?variant=261c844a-bb1a-45ad-b2e6-e8a0e836db31","available_quantity":999999999,"options":[{"name":"buy-1-get-2-free","value":"pink-3-pcs"},{"name":"size","value":"l"}],"off_ratio":"60","flashsale_info":{"variant_id":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"27.99","compare_at_price":"","discount_price":"27.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"60","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
buy-1-get-2-free:
pink-3-pcs
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
size:
l
${function(){
return `${data.value} `;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Add to cart
$27.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":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"1be52e1c-f690-4e78-bc93-70292fae6057","title":"pink-3-pcs-l","weight_unit":"kg","inventory_quantity":1000,"sku":"BUY-1--1882-1","barcode":"","position":1,"option1":"pink-3-pcs","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","path":"3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.98","price":"27.99","retail_price":"69.98","available":true,"url":"\/products\/buy-1-get-2-free-2023-front-button-breathable-skin-friendly-cotton-bra-7522902-32562841?variant=261c844a-bb1a-45ad-b2e6-e8a0e836db31","available_quantity":999999999,"options":[{"name":"buy-1-get-2-free","value":"pink-3-pcs"},{"name":"size","value":"l"}],"off_ratio":"60","flashsale_info":{"variant_id":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"27.99","compare_at_price":"","discount_price":"27.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"60","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"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":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"1be52e1c-f690-4e78-bc93-70292fae6057","title":"pink-3-pcs-l","weight_unit":"kg","inventory_quantity":1000,"sku":"BUY-1--1882-1","barcode":"","position":1,"option1":"pink-3-pcs","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","path":"3aaa7e3dfd3ec578443d3b5aea0a156c.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.98","price":"27.99","retail_price":"69.98","available":true,"url":"\/products\/buy-1-get-2-free-2023-front-button-breathable-skin-friendly-cotton-bra-7522902-32562841?variant=261c844a-bb1a-45ad-b2e6-e8a0e836db31","available_quantity":999999999,"options":[{"name":"buy-1-get-2-free","value":"pink-3-pcs"},{"name":"size","value":"l"}],"off_ratio":"60","flashsale_info":{"variant_id":"261c844a-bb1a-45ad-b2e6-e8a0e836db31","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"27.99","compare_at_price":"","discount_price":"27.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"60","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}