Dog game fence with top cover, suitable for indoor or outdoor use
${function() {
const variantData = data.variant || {"id":"0de8d9eb-6c37-40c7-b8aa-7c512295910c","product_id":"a08fa951-379f-4cc2-8f31-d19bc5287a10","title":"Silver Grey-42x42x26(Without Cover)","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":2,"option1":"Silver Grey","option2":"42x42x26(Without Cover)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4487f33550144bbf198e42b897580fbb.jpeg","path":"4487f33550144bbf198e42b897580fbb.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"42.99","retail_price":"42.99","available":true,"url":"\/products\/eheyciga-42x42x26-inches-puppy-playpen-with-top-cover-for-dogs-cats-indoor-or-outdoor-dog-playpen-with-door-dog-fence-for-small-animal-with-heavy-duty-oxford-steel-frame-sliver-grey-silver-grey-42x42x26with-cover?variant=0de8d9eb-6c37-40c7-b8aa-7c512295910c","available_quantity":999999999,"options":[{"name":"Color","value":"Silver Grey"},{"name":"Style","value":"42x42x26(Without Cover)"}],"off_ratio":"0","flashsale_info":{"variant_id":"0de8d9eb-6c37-40c7-b8aa-7c512295910c","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"42.99","compare_at_price":"","discount_price":"42.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
people are viewing this right now
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"0de8d9eb-6c37-40c7-b8aa-7c512295910c","product_id":"a08fa951-379f-4cc2-8f31-d19bc5287a10","title":"Silver Grey-42x42x26(Without Cover)","weight_unit":"kg","inventory_quantity":0,"sku":"","barcode":"","position":2,"option1":"Silver Grey","option2":"42x42x26(Without Cover)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4487f33550144bbf198e42b897580fbb.jpeg","path":"4487f33550144bbf198e42b897580fbb.jpeg","width":600,"height":600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.99,"min_quantity":1}],"weight":"0","compare_at_price":"42.99","price":"42.99","retail_price":"42.99","available":true,"url":"\/products\/eheyciga-42x42x26-inches-puppy-playpen-with-top-cover-for-dogs-cats-indoor-or-outdoor-dog-playpen-with-door-dog-fence-for-small-animal-with-heavy-duty-oxford-steel-frame-sliver-grey-silver-grey-42x42x26with-cover?variant=0de8d9eb-6c37-40c7-b8aa-7c512295910c","available_quantity":999999999,"options":[{"name":"Color","value":"Silver Grey"},{"name":"Style","value":"42x42x26(Without Cover)"}],"off_ratio":"0","flashsale_info":{"variant_id":"0de8d9eb-6c37-40c7-b8aa-7c512295910c","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"42.99","compare_at_price":"","discount_price":"42.99","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":1};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}
${function() {
const postageFreeAmount = 399;
const custom_text = "Buy {amount} more to enjoy FREE Shipping";
const totalPrice = +data.total_price;
const diffPrice = postageFreeAmount - totalPrice;
const percentDiff = (diffPrice > 0 ? (totalPrice / postageFreeAmount * 100) : 100) + '%';
let tipText = "Your order is free delivery";
if (diffPrice > 0) {
tipText = custom_text.replace('{amount}', `
`);
}
return `
`;
}()}