Custom Photo Hip Hop Iced Out Round Pendant Necklace
${function() {
const variantData = data.variant || {"id":"056d2017-3174-4787-ae7b-d68ec38ce1f0","product_id":"600b8b53-8786-408a-abd1-4c1fccd1210d","title":"Gold-Rope Chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264554","barcode":"","position":9,"option1":"Gold","option2":"Rope Chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/0af32da3e0c5762d44a2273ca97800de.jpeg","path":"0af32da3e0c5762d44a2273ca97800de.jpeg","width":1001,"height":1001,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-pendant-hip-hop-personality-necklace-jewelry?variant=056d2017-3174-4787-ae7b-d68ec38ce1f0","available_quantity":999999999,"options":[{"name":"color","value":"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:
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
$37.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":"056d2017-3174-4787-ae7b-d68ec38ce1f0","product_id":"600b8b53-8786-408a-abd1-4c1fccd1210d","title":"Gold-Rope Chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264554","barcode":"","position":9,"option1":"Gold","option2":"Rope Chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/0af32da3e0c5762d44a2273ca97800de.jpeg","path":"0af32da3e0c5762d44a2273ca97800de.jpeg","width":1001,"height":1001,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-pendant-hip-hop-personality-necklace-jewelry?variant=056d2017-3174-4787-ae7b-d68ec38ce1f0","available_quantity":999999999,"options":[{"name":"color","value":"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":"056d2017-3174-4787-ae7b-d68ec38ce1f0","product_id":"600b8b53-8786-408a-abd1-4c1fccd1210d","title":"Gold-Rope Chain-18inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00264554","barcode":"","position":9,"option1":"Gold","option2":"Rope Chain","option3":"18inch","note":"","image":{"src":"\/\/img.staticdj.com\/0af32da3e0c5762d44a2273ca97800de.jpeg","path":"0af32da3e0c5762d44a2273ca97800de.jpeg","width":1001,"height":1001,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":37.99,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"37.99","retail_price":"0","available":true,"url":"\/products\/custom-photo-round-pendant-hip-hop-personality-necklace-jewelry?variant=056d2017-3174-4787-ae7b-d68ec38ce1f0","available_quantity":999999999,"options":[{"name":"color","value":"Gold"},{"name":"chain type","value":"Rope Chain"},{"name":"length","value":"18inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}