Women's Leisure Quartz Pocket Watch Vintage Alice Theme Classic Mens Pendant With Chain Pocket&Fob Watches HB245
${function() {
const variantData = data.variant || {"id":"566866ac-f07c-46f1-afc0-cd9e0c7ca74a","product_id":"995425c6-69c6-4b35-80d1-e1815ff45082","title":"HB245","weight_unit":"kg","inventory_quantity":300,"sku":"HB245","barcode":"","position":1,"option1":"HB245","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95d8f9ff6bbe3305575f00ce7d40f2fd.png","path":"95d8f9ff6bbe3305575f00ce7d40f2fd.png","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"2.99","retail_price":"7.99","available":true,"url":"\/products\/womens-leisure-quartz-pocket-watch-vintage-alice-theme-classic-mens-pendant-with-chain-pocket-fob-watches-hb245?variant=566866ac-f07c-46f1-afc0-cd9e0c7ca74a","available_quantity":999999999,"options":[{"name":"Color","value":"HB245"}],"off_ratio":63,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
HB245
${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
$2.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":"566866ac-f07c-46f1-afc0-cd9e0c7ca74a","product_id":"995425c6-69c6-4b35-80d1-e1815ff45082","title":"HB245","weight_unit":"kg","inventory_quantity":300,"sku":"HB245","barcode":"","position":1,"option1":"HB245","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95d8f9ff6bbe3305575f00ce7d40f2fd.png","path":"95d8f9ff6bbe3305575f00ce7d40f2fd.png","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"2.99","retail_price":"7.99","available":true,"url":"\/products\/womens-leisure-quartz-pocket-watch-vintage-alice-theme-classic-mens-pendant-with-chain-pocket-fob-watches-hb245?variant=566866ac-f07c-46f1-afc0-cd9e0c7ca74a","available_quantity":999999999,"options":[{"name":"Color","value":"HB245"}],"off_ratio":63,"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":"566866ac-f07c-46f1-afc0-cd9e0c7ca74a","product_id":"995425c6-69c6-4b35-80d1-e1815ff45082","title":"HB245","weight_unit":"kg","inventory_quantity":300,"sku":"HB245","barcode":"","position":1,"option1":"HB245","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/95d8f9ff6bbe3305575f00ce7d40f2fd.png","path":"95d8f9ff6bbe3305575f00ce7d40f2fd.png","width":2000,"height":2000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.99,"min_quantity":1}],"weight":"0","compare_at_price":"7.99","price":"2.99","retail_price":"7.99","available":true,"url":"\/products\/womens-leisure-quartz-pocket-watch-vintage-alice-theme-classic-mens-pendant-with-chain-pocket-fob-watches-hb245?variant=566866ac-f07c-46f1-afc0-cd9e0c7ca74a","available_quantity":999999999,"options":[{"name":"Color","value":"HB245"}],"off_ratio":63,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + ' ');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
people are viewing this right now