Custom Round Rug 4ft, Personalized Washable Circle Area Rug for Playroom Non Slip, Soft Area Rugs for Bedroom Baby Kids Room Indoor Play Mat Throw Carpet for Dorm Nursery Rv
${function() {
const variantData = data.variant || {"id":"a153498c-bc88-4c9e-9156-ef6eb512d956","product_id":"434a1aa9-14cb-4ec8-bf8c-6cd1c050400b","title":"Custom Rug-5x3 ft","weight_unit":"kg","inventory_quantity":1000,"sku":"B0BDGB4F4F","barcode":"","position":1,"option1":"Custom Rug","option2":"5x3 ft","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ae0e03d22db5e74e2ce15531407d6fd.jpeg","path":"4ae0e03d22db5e74e2ce15531407d6fd.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"45.99","retail_price":"55.99","available":true,"url":"\/products\/custom-round-rug-4ft-personalized-washable-circle-area-rug-for-playroom-non-slip-soft-area-rugs-for-bedroom-baby-kids-room-indoor-play-mat-throw-carpet-for-dorm-nursery-rv-b0dkp6bt5g?variant=a153498c-bc88-4c9e-9156-ef6eb512d956","available_quantity":1000,"options":[{"name":"Size","value":"Custom Rug"},{"name":"Color","value":"5x3 ft"}],"off_ratio":18,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
Custom Rug
${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:
5x3 ft
${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
$45.99
${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":"a153498c-bc88-4c9e-9156-ef6eb512d956","product_id":"434a1aa9-14cb-4ec8-bf8c-6cd1c050400b","title":"Custom Rug-5x3 ft","weight_unit":"kg","inventory_quantity":1000,"sku":"B0BDGB4F4F","barcode":"","position":1,"option1":"Custom Rug","option2":"5x3 ft","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ae0e03d22db5e74e2ce15531407d6fd.jpeg","path":"4ae0e03d22db5e74e2ce15531407d6fd.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"45.99","retail_price":"55.99","available":true,"url":"\/products\/custom-round-rug-4ft-personalized-washable-circle-area-rug-for-playroom-non-slip-soft-area-rugs-for-bedroom-baby-kids-room-indoor-play-mat-throw-carpet-for-dorm-nursery-rv-b0dkp6bt5g?variant=a153498c-bc88-4c9e-9156-ef6eb512d956","available_quantity":1000,"options":[{"name":"Size","value":"Custom Rug"},{"name":"Color","value":"5x3 ft"}],"off_ratio":18,"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":"a153498c-bc88-4c9e-9156-ef6eb512d956","product_id":"434a1aa9-14cb-4ec8-bf8c-6cd1c050400b","title":"Custom Rug-5x3 ft","weight_unit":"kg","inventory_quantity":1000,"sku":"B0BDGB4F4F","barcode":"","position":1,"option1":"Custom Rug","option2":"5x3 ft","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4ae0e03d22db5e74e2ce15531407d6fd.jpeg","path":"4ae0e03d22db5e74e2ce15531407d6fd.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":45.99,"min_quantity":1}],"weight":"0","compare_at_price":"55.99","price":"45.99","retail_price":"55.99","available":true,"url":"\/products\/custom-round-rug-4ft-personalized-washable-circle-area-rug-for-playroom-non-slip-soft-area-rugs-for-bedroom-baby-kids-room-indoor-play-mat-throw-carpet-for-dorm-nursery-rv-b0dkp6bt5g?variant=a153498c-bc88-4c9e-9156-ef6eb512d956","available_quantity":1000,"options":[{"name":"Size","value":"Custom Rug"},{"name":"Color","value":"5x3 ft"}],"off_ratio":18,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}