FitMe Rose Embroidery Front Closure Wirefree Bra
${function() {
const variantData = data.variant || {"id":"8b6b4b5e-b9ba-4b0f-8899-74d642808667","product_id":"9fcd06f5-12b7-45f6-a4d5-5d5ccc6d3459","title":"BLACK-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0051-BLACK-S-A001601","barcode":"","position":1,"option1":"BLACK","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65575890233ade30ad11832c641a986a.png","path":"65575890233ade30ad11832c641a986a.png","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.59","price":"23.99","retail_price":"33.59","available":true,"url":"\/products\/fitme-rose-embroidery-front-closure-wirefree-bra-4344647caa64-4767-4ece-9272-3b0b17558c43?variant=8b6b4b5e-b9ba-4b0f-8899-74d642808667","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"SIZE","value":"S"}],"off_ratio":29,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
BLACK
${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:
S
${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
$23.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":"8b6b4b5e-b9ba-4b0f-8899-74d642808667","product_id":"9fcd06f5-12b7-45f6-a4d5-5d5ccc6d3459","title":"BLACK-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SS0051-BLACK-S-A001601","barcode":"","position":1,"option1":"BLACK","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/65575890233ade30ad11832c641a986a.png","path":"65575890233ade30ad11832c641a986a.png","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.59","price":"23.99","retail_price":"33.59","available":true,"url":"\/products\/fitme-rose-embroidery-front-closure-wirefree-bra-4344647caa64-4767-4ece-9272-3b0b17558c43?variant=8b6b4b5e-b9ba-4b0f-8899-74d642808667","available_quantity":999999999,"options":[{"name":"COLOR","value":"BLACK"},{"name":"SIZE","value":"S"}],"off_ratio":29,"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.