Custom Photo Iced Out 2 Row Pendant Necklace
${function() {
const variantData = data.variant || {"id":"ab26584d-3a79-47ee-8255-1eb1746d39d7","product_id":"a6dfff56-5abc-45cd-81b7-b8c7c63b2487","title":"silver-16 inch-3mm Rope chain","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00213470","barcode":"","position":6,"option1":"silver","option2":"16 inch","option3":"3mm Rope chain","note":"","image":{"src":"\/\/img.staticdj.com\/bdee082714974671219e3da61ff588aa.png","path":"bdee082714974671219e3da61ff588aa.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.24,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"52.24","retail_price":"0","available":true,"url":"\/products\/custom-photo-iced-out-2-rows-zircon-pendant-personalized-necklace?variant=ab26584d-3a79-47ee-8255-1eb1746d39d7","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"length","value":"16 inch"},{"name":"chain type","value":"3mm Rope chain"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
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}
`
}()}
Length:
16 inch
${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}
`
}()}
Chain Type:
3mm 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}
`
}()}
Add to cart
$52.24
${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":"ab26584d-3a79-47ee-8255-1eb1746d39d7","product_id":"a6dfff56-5abc-45cd-81b7-b8c7c63b2487","title":"silver-16 inch-3mm Rope chain","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00213470","barcode":"","position":6,"option1":"silver","option2":"16 inch","option3":"3mm Rope chain","note":"","image":{"src":"\/\/img.staticdj.com\/bdee082714974671219e3da61ff588aa.png","path":"bdee082714974671219e3da61ff588aa.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.24,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"52.24","retail_price":"0","available":true,"url":"\/products\/custom-photo-iced-out-2-rows-zircon-pendant-personalized-necklace?variant=ab26584d-3a79-47ee-8255-1eb1746d39d7","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"length","value":"16 inch"},{"name":"chain type","value":"3mm Rope chain"}],"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":"ab26584d-3a79-47ee-8255-1eb1746d39d7","product_id":"a6dfff56-5abc-45cd-81b7-b8c7c63b2487","title":"silver-16 inch-3mm Rope chain","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00213470","barcode":"","position":6,"option1":"silver","option2":"16 inch","option3":"3mm Rope chain","note":"","image":{"src":"\/\/img.staticdj.com\/bdee082714974671219e3da61ff588aa.png","path":"bdee082714974671219e3da61ff588aa.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":52.24,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"52.24","retail_price":"0","available":true,"url":"\/products\/custom-photo-iced-out-2-rows-zircon-pendant-personalized-necklace?variant=ab26584d-3a79-47ee-8255-1eb1746d39d7","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"length","value":"16 inch"},{"name":"chain type","value":"3mm Rope chain"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}