Custom Photo Arch Shape Pendant Necklace
${function() {
const variantData = data.variant || {"id":"a4965f12-1a3e-4f5d-abfb-70c2f4de516b","product_id":"a069adb8-7514-4cf1-8dc1-5742997b8207","title":"silver-Rope Chain-16inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00252615","barcode":"","position":1,"option1":"silver","option2":"Rope Chain","option3":"16inch","note":"","image":{"src":"\/\/img.staticdj.com\/418a1de3328925fe83d5f05fa3564a2e.jpeg","path":"418a1de3328925fe83d5f05fa3564a2e.jpeg","width":1400,"height":1400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-arch-shape-pendant-memory-necklace-hip-hop-jewelry?variant=a4965f12-1a3e-4f5d-abfb-70c2f4de516b","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"chain type","value":"Rope Chain"},{"name":"length","value":"16inch"}],"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}
`
}()}
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:
16inch
${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
$47.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":"a4965f12-1a3e-4f5d-abfb-70c2f4de516b","product_id":"a069adb8-7514-4cf1-8dc1-5742997b8207","title":"silver-Rope Chain-16inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00252615","barcode":"","position":1,"option1":"silver","option2":"Rope Chain","option3":"16inch","note":"","image":{"src":"\/\/img.staticdj.com\/418a1de3328925fe83d5f05fa3564a2e.jpeg","path":"418a1de3328925fe83d5f05fa3564a2e.jpeg","width":1400,"height":1400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-arch-shape-pendant-memory-necklace-hip-hop-jewelry?variant=a4965f12-1a3e-4f5d-abfb-70c2f4de516b","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"chain type","value":"Rope Chain"},{"name":"length","value":"16inch"}],"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":"a4965f12-1a3e-4f5d-abfb-70c2f4de516b","product_id":"a069adb8-7514-4cf1-8dc1-5742997b8207","title":"silver-Rope Chain-16inch","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA00252615","barcode":"","position":1,"option1":"silver","option2":"Rope Chain","option3":"16inch","note":"","image":{"src":"\/\/img.staticdj.com\/418a1de3328925fe83d5f05fa3564a2e.jpeg","path":"418a1de3328925fe83d5f05fa3564a2e.jpeg","width":1400,"height":1400,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.49,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.49","retail_price":"0","available":true,"url":"\/products\/custom-photo-arch-shape-pendant-memory-necklace-hip-hop-jewelry?variant=a4965f12-1a3e-4f5d-abfb-70c2f4de516b","available_quantity":999999999,"options":[{"name":"color","value":"silver"},{"name":"chain type","value":"Rope Chain"},{"name":"length","value":"16inch"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}