Transparent Automatic Mechanical Steampunk Skull Luxury Gear Watch
${function() {
const variantData = data.variant || {"id":"110ccde8-6be7-4fbd-9a05-3e90abb4af15","product_id":"73da1209-e87f-450f-ba39-aef7fa7e2dde","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":1000,"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=110ccde8-6be7-4fbd-9a05-3e90abb4af15","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":"110ccde8-6be7-4fbd-9a05-3e90abb4af15","product_id":"73da1209-e87f-450f-ba39-aef7fa7e2dde","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":1000,"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=110ccde8-6be7-4fbd-9a05-3e90abb4af15","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":"110ccde8-6be7-4fbd-9a05-3e90abb4af15","product_id":"73da1209-e87f-450f-ba39-aef7fa7e2dde","title":"Black Belt Black Shell","weight_unit":"lb","inventory_quantity":1000,"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=110ccde8-6be7-4fbd-9a05-3e90abb4af15","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}
`
}()}