12pcs Photo and Text Square Wall Clock Personalized Clock
people are viewing this right now
${function() {
const variantData = data.variant || {"id":"ec2f80a1-311a-4821-8075-51c85b7933b5","product_id":"8698fedd-3056-4686-80b2-5bac9c09a255","title":"16\" recommend-Classic Black-PVC","weight_unit":"kg","inventory_quantity":0,"sku":"HM-HZ240717006-16\" recommend-Classic Black-PVC","barcode":"","position":1,"option1":"16\" recommend","option2":"Classic Black","option3":"PVC","note":"","image":{"src":"\/\/img.staticdj.com\/8069f5cfeec1e3486640ca7cbe99471b.jpeg","path":"8069f5cfeec1e3486640ca7cbe99471b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.94,"min_quantity":1}],"weight":"0","compare_at_price":"139.99","price":"69.94","retail_price":"139.99","available":true,"url":"\/products\/12pcs-photo-and-text-square-wall-clock-personalized-clock?variant=ec2f80a1-311a-4821-8075-51c85b7933b5","available_quantity":999999999,"options":[{"name":"Size","value":"16\" recommend"},{"name":"Color","value":"Classic Black"},{"name":"Material","value":"PVC"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
16" recommend
${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}
`
}()}
Color:
Classic Black
${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}
`
}()}
Material:
PVC
${function(){
const optName = "Material";
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
$69.94
${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":"ec2f80a1-311a-4821-8075-51c85b7933b5","product_id":"8698fedd-3056-4686-80b2-5bac9c09a255","title":"16\" recommend-Classic Black-PVC","weight_unit":"kg","inventory_quantity":0,"sku":"HM-HZ240717006-16\" recommend-Classic Black-PVC","barcode":"","position":1,"option1":"16\" recommend","option2":"Classic Black","option3":"PVC","note":"","image":{"src":"\/\/img.staticdj.com\/8069f5cfeec1e3486640ca7cbe99471b.jpeg","path":"8069f5cfeec1e3486640ca7cbe99471b.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":69.94,"min_quantity":1}],"weight":"0","compare_at_price":"139.99","price":"69.94","retail_price":"139.99","available":true,"url":"\/products\/12pcs-photo-and-text-square-wall-clock-personalized-clock?variant=ec2f80a1-311a-4821-8075-51c85b7933b5","available_quantity":999999999,"options":[{"name":"Size","value":"16\" recommend"},{"name":"Color","value":"Classic Black"},{"name":"Material","value":"PVC"}],"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.