Men's Fashion Lock Pendant Clavicle Chain Double Layer Necklace
${function() {
const variantData = data.variant || {"id":"f87ae381-2004-42a5-a68d-a59e0f60cd04","product_id":"be2359bd-091b-40fd-8bd9-a8c9dd47f6a9","title":"Gold","weight_unit":"g","inventory_quantity":999,"sku":"1551902782653980674","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6a52ab69f5cf3d5205daaf93e0c6bb.jpeg","path":"cd6a52ab69f5cf3d5205daaf93e0c6bb.jpeg","width":1200,"height":1200,"alt":"e9f5c2007e03b0e7eb667e87f5369b7d","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"20","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/mens-fashion-lock-pendant-clavicle-chain-double-layer-necklace?variant=f87ae381-2004-42a5-a68d-a59e0f60cd04","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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}
`
}()}
Add to cart
$4.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":"f87ae381-2004-42a5-a68d-a59e0f60cd04","product_id":"be2359bd-091b-40fd-8bd9-a8c9dd47f6a9","title":"Gold","weight_unit":"g","inventory_quantity":999,"sku":"1551902782653980674","barcode":"","position":1,"option1":"Gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd6a52ab69f5cf3d5205daaf93e0c6bb.jpeg","path":"cd6a52ab69f5cf3d5205daaf93e0c6bb.jpeg","width":1200,"height":1200,"alt":"e9f5c2007e03b0e7eb667e87f5369b7d","aspect_ratio":1},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"20","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/mens-fashion-lock-pendant-clavicle-chain-double-layer-necklace?variant=f87ae381-2004-42a5-a68d-a59e0f60cd04","available_quantity":999999999,"options":[{"name":"Color","value":"Gold"}],"off_ratio":0,"flashsale_info":[],"sales":3};
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.
people are viewing this right now