Alaina Crystal Leopard Bracelet
Color-
Khaki
${function(){
const enable_selected_variants = "true" === 'false';
const optionValue = data.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
return `
Please select a Color
`;
}()}
${function() {
const variantData = data.variant || {"id":"256b18af-faf0-4d0c-b6cd-6d59a023c053","product_id":"e1df3b7a-786e-422b-a6db-8583930fe3f5","title":"Khaki","weight_unit":"kg","inventory_quantity":0,"sku":"MY_fe3f5-Khaki-","barcode":"","position":1,"option1":"Khaki","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c11f7cb1adfaff3009c49ee6874e0538.jpeg","path":"c11f7cb1adfaff3009c49ee6874e0538.jpeg","width":640,"height":640,"alt":"Alaina Crystal Leopard Bracelet-Mayoulove","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"23.99","retail_price":"29.99","available":true,"url":"\/products\/alaina-crystal-leopard-bracelet?variant=256b18af-faf0-4d0c-b6cd-6d59a023c053","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"}],"off_ratio":20,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
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]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"256b18af-faf0-4d0c-b6cd-6d59a023c053","product_id":"e1df3b7a-786e-422b-a6db-8583930fe3f5","title":"Khaki","weight_unit":"kg","inventory_quantity":0,"sku":"MY_fe3f5-Khaki-","barcode":"","position":1,"option1":"Khaki","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c11f7cb1adfaff3009c49ee6874e0538.jpeg","path":"c11f7cb1adfaff3009c49ee6874e0538.jpeg","width":640,"height":640,"alt":"Alaina Crystal Leopard Bracelet-Mayoulove","aspect_ratio":1},"wholesale_price":[{"price":23.99,"min_quantity":1}],"weight":"0.3","compare_at_price":"29.99","price":"23.99","retail_price":"29.99","available":true,"url":"\/products\/alaina-crystal-leopard-bracelet?variant=256b18af-faf0-4d0c-b6cd-6d59a023c053","available_quantity":999999999,"options":[{"name":"Color","value":"Khaki"}],"off_ratio":20,"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 it now
Product was out of stock.
Product is unavailable.