Custom Photo Hip Hop Iced Out Round Medallions Pendant Necklace
${function() {
const variantData = data.variant || {"id":"7713fd79-fde8-4dd3-baf1-6e84b0580483","product_id":"962f42ce-4e59-47d3-b400-8a4588f7cfe7","title":"Rose Gold-Rope chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264106","barcode":"","position":9,"option1":"Rose Gold","option2":"Rope chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/4c8e228c4f16d3b5232a77b19594ff80.jpeg","path":"4c8e228c4f16d3b5232a77b19594ff80.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":66.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"66.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-medallions-pendant-necklac-hip-hop-jewelry?variant=7713fd79-fde8-4dd3-baf1-6e84b0580483","available_quantity":999999999,"options":[{"name":"color","value":"Rose Gold"},{"name":"chain type","value":"Rope chain"},{"name":"length","value":"18inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Rose Gold
${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}
`
}()}
Chain Type:
Rope chain
${function(){
const optName = "chain type";
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}
`
}()}
Length:
18inch
${function(){
const optName = "length";
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
$66.49
${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":"7713fd79-fde8-4dd3-baf1-6e84b0580483","product_id":"962f42ce-4e59-47d3-b400-8a4588f7cfe7","title":"Rose Gold-Rope chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264106","barcode":"","position":9,"option1":"Rose Gold","option2":"Rope chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/4c8e228c4f16d3b5232a77b19594ff80.jpeg","path":"4c8e228c4f16d3b5232a77b19594ff80.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":66.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"66.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-medallions-pendant-necklac-hip-hop-jewelry?variant=7713fd79-fde8-4dd3-baf1-6e84b0580483","available_quantity":999999999,"options":[{"name":"color","value":"Rose Gold"},{"name":"chain type","value":"Rope chain"},{"name":"length","value":"18inch"}],"off_ratio":0,"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.
${function(){
const variantData = data.variant || {"id":"7713fd79-fde8-4dd3-baf1-6e84b0580483","product_id":"962f42ce-4e59-47d3-b400-8a4588f7cfe7","title":"Rose Gold-Rope chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264106","barcode":"","position":9,"option1":"Rose Gold","option2":"Rope chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/4c8e228c4f16d3b5232a77b19594ff80.jpeg","path":"4c8e228c4f16d3b5232a77b19594ff80.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":66.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"66.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-medallions-pendant-necklac-hip-hop-jewelry?variant=7713fd79-fde8-4dd3-baf1-6e84b0580483","available_quantity":999999999,"options":[{"name":"color","value":"Rose Gold"},{"name":"chain type","value":"Rope chain"},{"name":"length","value":"18inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}