Transparent Automatic Mechanical Steampunk Skull Luxury Gear Watch
${function() {
const variantData = data.variant || {"id":"7b2fe6ec-f204-4594-ba04-15896232c70d","product_id":"0a88b7f9-f4ab-4228-a3d3-250f9638bdd7","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":997,"sku":"","barcode":"","position":1,"option1":"Black Belt Black Shell","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2e79458298ed2953e00f42a492638f8.jpeg","path":"f2e79458298ed2953e00f42a492638f8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"159.99","price":"79.99","retail_price":"159.99","available":true,"url":"\/products\/transparent-automatic-mechanical-steampunk-skull-luxury-gear-watchb9f4c855-fcc0-4a46-8fbd-8d0c5dd2a7bf7a7360a4-d903-4673-93c9-83e4ee4dc299?variant=7b2fe6ec-f204-4594-ba04-15896232c70d","available_quantity":999999999,"options":[{"name":"style","value":"Black Belt Black Shell"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Style:
Black Belt Black Shell
${function(){
const optName = "style";
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
$79.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":"7b2fe6ec-f204-4594-ba04-15896232c70d","product_id":"0a88b7f9-f4ab-4228-a3d3-250f9638bdd7","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":997,"sku":"","barcode":"","position":1,"option1":"Black Belt Black Shell","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2e79458298ed2953e00f42a492638f8.jpeg","path":"f2e79458298ed2953e00f42a492638f8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"159.99","price":"79.99","retail_price":"159.99","available":true,"url":"\/products\/transparent-automatic-mechanical-steampunk-skull-luxury-gear-watchb9f4c855-fcc0-4a46-8fbd-8d0c5dd2a7bf7a7360a4-d903-4673-93c9-83e4ee4dc299?variant=7b2fe6ec-f204-4594-ba04-15896232c70d","available_quantity":999999999,"options":[{"name":"style","value":"Black Belt Black Shell"}],"off_ratio":50,"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":"7b2fe6ec-f204-4594-ba04-15896232c70d","product_id":"0a88b7f9-f4ab-4228-a3d3-250f9638bdd7","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":997,"sku":"","barcode":"","position":1,"option1":"Black Belt Black Shell","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f2e79458298ed2953e00f42a492638f8.jpeg","path":"f2e79458298ed2953e00f42a492638f8.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"159.99","price":"79.99","retail_price":"159.99","available":true,"url":"\/products\/transparent-automatic-mechanical-steampunk-skull-luxury-gear-watchb9f4c855-fcc0-4a46-8fbd-8d0c5dd2a7bf7a7360a4-d903-4673-93c9-83e4ee4dc299?variant=7b2fe6ec-f204-4594-ba04-15896232c70d","available_quantity":999999999,"options":[{"name":"style","value":"Black Belt Black Shell"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}