The Dog Mat stretches freely without restraint
${function() {
const variantData = data.variant || {"id":"26196b97-8d45-4e6d-b43f-30fa61fffece","product_id":"cad56fa2-0ea4-4a6b-bc8a-248fdf00b5d1","title":"50x35cm-Green","weight_unit":"kg","inventory_quantity":300,"sku":"","barcode":"","position":1,"option1":"50x35cm","option2":"Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50d02f2b92b4c4951470410d0d76f907.webp","path":"50d02f2b92b4c4951470410d0d76f907.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.42,"min_quantity":1}],"weight":"0","compare_at_price":"40.42","price":"47.42","retail_price":"40.42","available":true,"url":"\/products\/warm-dog-mat-pet-sofa-for-small-medium-dogs-plaid-bed-for-cats-dogs-fluff-sleeping-removable-washable-pet-beds-dog-cat-bed?variant=26196b97-8d45-4e6d-b43f-30fa61fffece","available_quantity":999999999,"options":[{"name":"Size","value":"50x35cm"},{"name":"Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
50x35cm
${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:
Green
${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}
`
}()}
Processing time: 1-3 business days.
To initiate a return, please contact:petspacecraft@outlook.com
Add to cart
$47.42
${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":"26196b97-8d45-4e6d-b43f-30fa61fffece","product_id":"cad56fa2-0ea4-4a6b-bc8a-248fdf00b5d1","title":"50x35cm-Green","weight_unit":"kg","inventory_quantity":300,"sku":"","barcode":"","position":1,"option1":"50x35cm","option2":"Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50d02f2b92b4c4951470410d0d76f907.webp","path":"50d02f2b92b4c4951470410d0d76f907.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.42,"min_quantity":1}],"weight":"0","compare_at_price":"40.42","price":"47.42","retail_price":"40.42","available":true,"url":"\/products\/warm-dog-mat-pet-sofa-for-small-medium-dogs-plaid-bed-for-cats-dogs-fluff-sleeping-removable-washable-pet-beds-dog-cat-bed?variant=26196b97-8d45-4e6d-b43f-30fa61fffece","available_quantity":999999999,"options":[{"name":"Size","value":"50x35cm"},{"name":"Color","value":"Green"}],"off_ratio":0,"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":"26196b97-8d45-4e6d-b43f-30fa61fffece","product_id":"cad56fa2-0ea4-4a6b-bc8a-248fdf00b5d1","title":"50x35cm-Green","weight_unit":"kg","inventory_quantity":300,"sku":"","barcode":"","position":1,"option1":"50x35cm","option2":"Green","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/50d02f2b92b4c4951470410d0d76f907.webp","path":"50d02f2b92b4c4951470410d0d76f907.webp","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":47.42,"min_quantity":1}],"weight":"0","compare_at_price":"40.42","price":"47.42","retail_price":"40.42","available":true,"url":"\/products\/warm-dog-mat-pet-sofa-for-small-medium-dogs-plaid-bed-for-cats-dogs-fluff-sleeping-removable-washable-pet-beds-dog-cat-bed?variant=26196b97-8d45-4e6d-b43f-30fa61fffece","available_quantity":999999999,"options":[{"name":"Size","value":"50x35cm"},{"name":"Color","value":"Green"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}