Custom Name Triple Row Zircon Letter Pendant Personalized Necklaces Jewelry
${function() {
const variantData = data.variant || {"id":"b5f7b603-0358-4ad0-b0d2-a96c47feb842","product_id":"a202e4f4-3857-4ca6-96d8-7f622822655b","title":"Gold-16inch Rope Chain-1 letter","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA0025694","barcode":"","position":1,"option1":"Gold","option2":"16inch Rope Chain","option3":"1 letter","note":"","image":{"src":"\/\/img.staticdj.com\/d98e772d3b3cf047c763d91620d60a0a.png","path":"d98e772d3b3cf047c763d91620d60a0a.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.05,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.05","retail_price":"0","available":true,"url":"\/products\/custom-name-triple-row-zircon-letter-pendant-personalized-necklaces-jewelry?variant=b5f7b603-0358-4ad0-b0d2-a96c47feb842","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"name":"Length","value":"16inch Rope Chain"},{"name":"Letter(s)","value":"1 letter"}],"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}
`
}()}
Length:
16inch Rope Chain
${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}
`
}()}
Letter(S):
1 letter
${function(){
const optName = "Letter(s)";
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.05
${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":"b5f7b603-0358-4ad0-b0d2-a96c47feb842","product_id":"a202e4f4-3857-4ca6-96d8-7f622822655b","title":"Gold-16inch Rope Chain-1 letter","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA0025694","barcode":"","position":1,"option1":"Gold","option2":"16inch Rope Chain","option3":"1 letter","note":"","image":{"src":"\/\/img.staticdj.com\/d98e772d3b3cf047c763d91620d60a0a.png","path":"d98e772d3b3cf047c763d91620d60a0a.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.05,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.05","retail_price":"0","available":true,"url":"\/products\/custom-name-triple-row-zircon-letter-pendant-personalized-necklaces-jewelry?variant=b5f7b603-0358-4ad0-b0d2-a96c47feb842","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"name":"Length","value":"16inch Rope Chain"},{"name":"Letter(s)","value":"1 letter"}],"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":"b5f7b603-0358-4ad0-b0d2-a96c47feb842","product_id":"a202e4f4-3857-4ca6-96d8-7f622822655b","title":"Gold-16inch Rope Chain-1 letter","weight_unit":"kg","inventory_quantity":9999,"sku":"CSA0025694","barcode":"","position":1,"option1":"Gold","option2":"16inch Rope Chain","option3":"1 letter","note":"","image":{"src":"\/\/img.staticdj.com\/d98e772d3b3cf047c763d91620d60a0a.png","path":"d98e772d3b3cf047c763d91620d60a0a.png","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.05,"min_quantity":1}],"weight":"0.1","compare_at_price":"0","price":"47.05","retail_price":"0","available":true,"url":"\/products\/custom-name-triple-row-zircon-letter-pendant-personalized-necklaces-jewelry?variant=b5f7b603-0358-4ad0-b0d2-a96c47feb842","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"},{"name":"Length","value":"16inch Rope Chain"},{"name":"Letter(s)","value":"1 letter"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}