Hot Sale - 2023 New Wear-resistant universal sofa cover
${function() {
const variantData = data.variant || {"id":"f6ed60c7-d708-4671-ad60-18300af8b1a2","product_id":"3a0d854e-b850-4e40-9657-f8170878cfdf","title":"style A-Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"style A","option2":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfe15e405270865b7b9dcf8ddcf16017.jpeg","path":"cfe15e405270865b7b9dcf8ddcf16017.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/2022-new-wear-resistant-universal-sofa-covere63a55af-a04b-41aa-896a-533ece264f98?variant=f6ed60c7-d708-4671-ad60-18300af8b1a2","available_quantity":999999999,"options":[{"name":"COLOR STYLEs","value":"style A"},{"name":"SIZE","value":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color Styles:
style A
${function(){
const optName = "COLOR STYLEs";
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}
`
}()}
Size:
Warm little home set(back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc))
${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}
`
}()}
Add to cart
$79.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":"f6ed60c7-d708-4671-ad60-18300af8b1a2","product_id":"3a0d854e-b850-4e40-9657-f8170878cfdf","title":"style A-Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"style A","option2":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfe15e405270865b7b9dcf8ddcf16017.jpeg","path":"cfe15e405270865b7b9dcf8ddcf16017.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/2022-new-wear-resistant-universal-sofa-covere63a55af-a04b-41aa-896a-533ece264f98?variant=f6ed60c7-d708-4671-ad60-18300af8b1a2","available_quantity":999999999,"options":[{"name":"COLOR STYLEs","value":"style A"},{"name":"SIZE","value":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09"}],"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":"f6ed60c7-d708-4671-ad60-18300af8b1a2","product_id":"3a0d854e-b850-4e40-9657-f8170878cfdf","title":"style A-Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"style A","option2":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cfe15e405270865b7b9dcf8ddcf16017.jpeg","path":"cfe15e405270865b7b9dcf8ddcf16017.jpeg","width":700,"height":700,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":79.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"79.99","retail_price":"0","available":true,"url":"\/products\/2022-new-wear-resistant-universal-sofa-covere63a55af-a04b-41aa-896a-533ece264f98?variant=f6ed60c7-d708-4671-ad60-18300af8b1a2","available_quantity":999999999,"options":[{"name":"COLOR STYLEs","value":"style A"},{"name":"SIZE","value":"Warm little home set\uff08back cover(3 pc) + normal seat cover(2 pc) + lay seat cover(1 pc)\uff09"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}