Vintage Metal Thick Chain Necklace
${function() {
const variantData = data.variant || {"id":"58760d67-7437-46d8-a1b9-0c7e234cd183","product_id":"f3e778b4-21fb-4f9b-a4f0-cd53709ea96d","title":"Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211203869-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/066f66ce92ce83956717f90e84ad24ca.jpeg","path":"066f66ce92ce83956717f90e84ad24ca.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.03,"min_quantity":1}],"weight":"0.06","compare_at_price":"34.15","price":"29.03","retail_price":"34.15","available":true,"url":"\/products\/vintage-metal-thick-chain-necklace?variant=58760d67-7437-46d8-a1b9-0c7e234cd183","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"58760d67-7437-46d8-a1b9-0c7e234cd183","product_id":"f3e778b4-21fb-4f9b-a4f0-cd53709ea96d","title":"Gold","weight_unit":"kg","inventory_quantity":0,"sku":"211203869-Gold","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/066f66ce92ce83956717f90e84ad24ca.jpeg","path":"066f66ce92ce83956717f90e84ad24ca.jpeg","width":1200,"height":1200,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.03,"min_quantity":1}],"weight":"0.06","compare_at_price":"34.15","price":"29.03","retail_price":"34.15","available":true,"url":"\/products\/vintage-metal-thick-chain-necklace?variant=58760d67-7437-46d8-a1b9-0c7e234cd183","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":15,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const postageFreeAmount = 69;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}