S925 Moissanite 10mm Clustered Tennis Bracelet
${function() {
const variantData = data.variant || {"id":"685f42d6-1754-4742-b488-785cc3a52a57","product_id":"414c4c49-f2db-42a9-bd4d-f4248734f1f1","title":"7''-Silver","weight_unit":"kg","inventory_quantity":0,"sku":"lx20230814003-7''-Silver","barcode":"","position":1,"option1":"7''","option2":"Silver","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b192b0b1f867c6bc1a4762ee5ffef97.jpeg","path":"8b192b0b1f867c6bc1a4762ee5ffef97.jpeg","width":600,"height":600,"alt":"S925 Moissanite 10mm Clustered Tennis Bracelet","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"149.99","price":"79.99","retail_price":"149.99","available":true,"url":"\/products\/s925-moissanite-10mm-clustered-tennis-bracelet?variant=685f42d6-1754-4742-b488-785cc3a52a57","available_quantity":999999999,"options":[{"name":"Size","value":"7''"},{"name":"Color","value":"Silver"}],"off_ratio":47,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
7''
${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}
`
}()}
Color:
Silver
${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}
`
}()}
Add to cart
$79.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":"685f42d6-1754-4742-b488-785cc3a52a57","product_id":"414c4c49-f2db-42a9-bd4d-f4248734f1f1","title":"7''-Silver","weight_unit":"kg","inventory_quantity":0,"sku":"lx20230814003-7''-Silver","barcode":"","position":1,"option1":"7''","option2":"Silver","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b192b0b1f867c6bc1a4762ee5ffef97.jpeg","path":"8b192b0b1f867c6bc1a4762ee5ffef97.jpeg","width":600,"height":600,"alt":"S925 Moissanite 10mm Clustered Tennis Bracelet","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"149.99","price":"79.99","retail_price":"149.99","available":true,"url":"\/products\/s925-moissanite-10mm-clustered-tennis-bracelet?variant=685f42d6-1754-4742-b488-785cc3a52a57","available_quantity":999999999,"options":[{"name":"Size","value":"7''"},{"name":"Color","value":"Silver"}],"off_ratio":47,"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.