Sexy Solid Color Hollow Bikini Swimwear
${function() {
const variantData = data.variant || {"id":"e4426d4a-a47a-4acb-a13d-be40307f8b6a","product_id":"242da0e4-6fea-49a6-898d-fa8306f1f51e","title":"BLACK-M","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!91710-C1251S1564","barcode":"","position":1,"option1":"BLACK","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38bdf03afe8d999d51794381562a38a4.jpeg","path":"38bdf03afe8d999d51794381562a38a4.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"36","price":"23.99","retail_price":"36","available":false,"url":"\/products\/sexy-solid-color-hollow-bikini-swimwear?variant=e4426d4a-a47a-4acb-a13d-be40307f8b6a","available_quantity":0,"options":[{"name":"Color","value":"BLACK"},{"name":"Size","value":"M"}],"off_ratio":33,"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:
M
${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}
`
}()}
Sold out
$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":"e4426d4a-a47a-4acb-a13d-be40307f8b6a","product_id":"242da0e4-6fea-49a6-898d-fa8306f1f51e","title":"BLACK-M","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!91710-C1251S1564","barcode":"","position":1,"option1":"BLACK","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38bdf03afe8d999d51794381562a38a4.jpeg","path":"38bdf03afe8d999d51794381562a38a4.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"36","price":"23.99","retail_price":"36","available":false,"url":"\/products\/sexy-solid-color-hollow-bikini-swimwear?variant=e4426d4a-a47a-4acb-a13d-be40307f8b6a","available_quantity":0,"options":[{"name":"Color","value":"BLACK"},{"name":"Size","value":"M"}],"off_ratio":33,"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.
Sku : CY-!91710-C1251S1564
Weight : 0.12kg
${function(){
const variantData = data.variant || {"id":"e4426d4a-a47a-4acb-a13d-be40307f8b6a","product_id":"242da0e4-6fea-49a6-898d-fa8306f1f51e","title":"BLACK-M","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!91710-C1251S1564","barcode":"","position":1,"option1":"BLACK","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/38bdf03afe8d999d51794381562a38a4.jpeg","path":"38bdf03afe8d999d51794381562a38a4.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.12","compare_at_price":"36","price":"23.99","retail_price":"36","available":false,"url":"\/products\/sexy-solid-color-hollow-bikini-swimwear?variant=e4426d4a-a47a-4acb-a13d-be40307f8b6a","available_quantity":0,"options":[{"name":"Color","value":"BLACK"},{"name":"Size","value":"M"}],"off_ratio":33,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}