Ameritex Waterproof Dog Bed Cover Pet Blanket with Anti-Slip Back for Furniture Bed Couch Sofa
${function() {
const variantData = data.variant || {"id":"371ac460-e822-4c90-8596-00425506efa0","product_id":"a985ccfa-f3f2-47d2-bc9f-a0ae1db438c0","title":"82x102 Inch (Pack of 1)-Violetblue","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DDBC29B3","barcode":"","position":1,"option1":"82x102 Inch (Pack of 1)","option2":"Violetblue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","path":"0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","width":970,"height":600,"alt":"","aspect_ratio":1.6166666666666667},"wholesale_price":[{"price":32.29,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"32.29","retail_price":"37.99","available":true,"url":"\/products\/ameritex-waterproof-dog-bed-cover-pet-blanket-with-anti-slip-back-for-furniture-bed-couch-sofa-b08c9b9kd9?variant=371ac460-e822-4c90-8596-00425506efa0","available_quantity":1000,"options":[{"name":"Size","value":"82x102 Inch (Pack of 1)"},{"name":"Color","value":"Violetblue"}],"off_ratio":15,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
82x102 Inch (Pack of 1)
${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:
Violetblue
${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}
`
}()}
Add to cart
$32.29
${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":"371ac460-e822-4c90-8596-00425506efa0","product_id":"a985ccfa-f3f2-47d2-bc9f-a0ae1db438c0","title":"82x102 Inch (Pack of 1)-Violetblue","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DDBC29B3","barcode":"","position":1,"option1":"82x102 Inch (Pack of 1)","option2":"Violetblue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","path":"0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","width":970,"height":600,"alt":"","aspect_ratio":1.6166666666666667},"wholesale_price":[{"price":32.29,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"32.29","retail_price":"37.99","available":true,"url":"\/products\/ameritex-waterproof-dog-bed-cover-pet-blanket-with-anti-slip-back-for-furniture-bed-couch-sofa-b08c9b9kd9?variant=371ac460-e822-4c90-8596-00425506efa0","available_quantity":1000,"options":[{"name":"Size","value":"82x102 Inch (Pack of 1)"},{"name":"Color","value":"Violetblue"}],"off_ratio":15,"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":"371ac460-e822-4c90-8596-00425506efa0","product_id":"a985ccfa-f3f2-47d2-bc9f-a0ae1db438c0","title":"82x102 Inch (Pack of 1)-Violetblue","weight_unit":"kg","inventory_quantity":1000,"sku":"B0DDBC29B3","barcode":"","position":1,"option1":"82x102 Inch (Pack of 1)","option2":"Violetblue","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","path":"0a56b49dbfd8a1ae53bb98c777c4a425.jpeg","width":970,"height":600,"alt":"","aspect_ratio":1.6166666666666667},"wholesale_price":[{"price":32.29,"min_quantity":1}],"weight":"0","compare_at_price":"37.99","price":"32.29","retail_price":"37.99","available":true,"url":"\/products\/ameritex-waterproof-dog-bed-cover-pet-blanket-with-anti-slip-back-for-furniture-bed-couch-sofa-b08c9b9kd9?variant=371ac460-e822-4c90-8596-00425506efa0","available_quantity":1000,"options":[{"name":"Size","value":"82x102 Inch (Pack of 1)"},{"name":"Color","value":"Violetblue"}],"off_ratio":15,"flashsale_info":[],"sales":0};
return `
`
}()}