Jesus Wall Clock | Funny Wall Clock Jesus
Qty-
Buy 1
${function(){
const optName = "Qty";
const enable_selected_variants = "true" === 'false';
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`;
}()}
${function(){
const optName = "Qty";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value;
return `
Please select a Qty
`;
}()}
${function() {
const variantData = data.variant || {"id":"18c6aae4-1e7b-4413-891e-fd5917382110","product_id":"89a40811-8c15-452e-8e60-51e2f3e7d022","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"EP3102426YS","barcode":"940830200709","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.96","retail_price":"0","available":true,"url":"\/products\/jesus-wall-clock-funny-wall-clock-jesus?variant=18c6aae4-1e7b-4413-891e-fd5917382110","available_quantity":999999999,"options":[{"name":"Qty","value":"Buy 1"}],"off_ratio":0,"flashsale_info":[],"sales":48};
const saveType = "amount";
const productSaveLabel = true;
return `
-
${saveType == 'percent' ? `-${variantData.off_ratio}% ` : `- ` }
`; }()}
Free shipping on international orders of $49.99+
Add to cart
- $19.96
${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]) || Object.keys(data).length > 1 ? data : null;
const productVariant = {"id":"18c6aae4-1e7b-4413-891e-fd5917382110","product_id":"89a40811-8c15-452e-8e60-51e2f3e7d022","title":"Buy 1","weight_unit":"kg","inventory_quantity":0,"sku":"EP3102426YS","barcode":"940830200709","position":1,"option1":"Buy 1","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":19.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"19.96","retail_price":"0","available":true,"url":"\/products\/jesus-wall-clock-funny-wall-clock-jesus?variant=18c6aae4-1e7b-4413-891e-fd5917382110","available_quantity":999999999,"options":[{"name":"Qty","value":"Buy 1"}],"off_ratio":0,"flashsale_info":[],"sales":48};
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 it now
Product was out of stock.
Product is unavailable.