Double ring necklace
${function() {
const variantData = data.variant || {"id":"a27ae553-7325-46c1-a646-5c6562237466","product_id":"05764408-1e72-4ad4-a330-b5722ef5e39a","title":"Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"drn-Silver","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9d90de8927225405875848db0c9696e.jpeg","path":"c9d90de8927225405875848db0c9696e.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.88","price":"39.99","retail_price":"89.88","available":true,"url":"\/products\/new-fashion-925-sterling-silver-double-round-pendant-neckalce-rose-gold-rhinestone-double-circle-necklace-for-women-jewelry-gift?variant=a27ae553-7325-46c1-a646-5c6562237466","available_quantity":999999999,"options":[{"name":"Gem Color","value":"Silver"}],"off_ratio":56,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Gem Color:
Silver
${function(){
const optName = "Gem 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
$39.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":"a27ae553-7325-46c1-a646-5c6562237466","product_id":"05764408-1e72-4ad4-a330-b5722ef5e39a","title":"Silver","weight_unit":"kg","inventory_quantity":1000,"sku":"drn-Silver","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c9d90de8927225405875848db0c9696e.jpeg","path":"c9d90de8927225405875848db0c9696e.jpeg","width":400,"height":400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0","compare_at_price":"89.88","price":"39.99","retail_price":"89.88","available":true,"url":"\/products\/new-fashion-925-sterling-silver-double-round-pendant-neckalce-rose-gold-rhinestone-double-circle-necklace-for-women-jewelry-gift?variant=a27ae553-7325-46c1-a646-5c6562237466","available_quantity":999999999,"options":[{"name":"Gem Color","value":"Silver"}],"off_ratio":56,"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.