Baguette Diamond Sun Shape Quartz Water Resistant Gold Watch
${function() {
const variantData = data.variant || {"id":"0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","product_id":"ca224c71-f29e-4e87-8246-44360954a1c5","title":"Gold-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"Ttxt3202405076-13-i","barcode":"","position":1,"option1":"Gold","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4980dde3ce9e81f27c04434bdeb7979a.jpeg","path":"4980dde3ce9e81f27c04434bdeb7979a.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":false,"url":"\/products\/baguette-diamond-sun-shape-quartz-water-resistant-gold-watches?variant=0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","available_quantity":0,"options":[{"name":"Color","value":"Gold"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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}
`
}()}
Size:
One Size
${function(){
const optName = "Size";
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}
`
}()}
Sold out
$64.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":"0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","product_id":"ca224c71-f29e-4e87-8246-44360954a1c5","title":"Gold-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"Ttxt3202405076-13-i","barcode":"","position":1,"option1":"Gold","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4980dde3ce9e81f27c04434bdeb7979a.jpeg","path":"4980dde3ce9e81f27c04434bdeb7979a.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":false,"url":"\/products\/baguette-diamond-sun-shape-quartz-water-resistant-gold-watches?variant=0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","available_quantity":0,"options":[{"name":"Color","value":"Gold"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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":"0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","product_id":"ca224c71-f29e-4e87-8246-44360954a1c5","title":"Gold-One Size","weight_unit":"kg","inventory_quantity":0,"sku":"Ttxt3202405076-13-i","barcode":"","position":1,"option1":"Gold","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4980dde3ce9e81f27c04434bdeb7979a.jpeg","path":"4980dde3ce9e81f27c04434bdeb7979a.jpeg","width":720,"height":720,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":64.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"64.99","retail_price":"0","available":false,"url":"\/products\/baguette-diamond-sun-shape-quartz-water-resistant-gold-watches?variant=0866ca68-a3b4-42bf-b3e5-fbd6bac8d9fc","available_quantity":0,"options":[{"name":"Color","value":"Gold"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":2};
return `
`
}()}