Boho Throw Pillow Covers 18x18 Inch Set of 2, Farmhouse Decorative Striped Square Pillow Covers Chenille Tufted Pillow Cases Accent Neutral Pillowcase for Living Room Couch Bed, Gray
${function() {
const variantData = data.variant || {"id":"47b439e0-1bb6-423d-a264-b6947a334d68","product_id":"157d0760-9e15-4fc3-91f7-6cbc77f5c11f","title":"Dark Green-18\" x 18\" (Pack of 2)","weight_unit":"kg","inventory_quantity":1000,"sku":"B0D9TYHYH6","barcode":"","position":1,"option1":"Dark Green","option2":"18\" x 18\" (Pack of 2)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56d57e84491efda971387494f1848ee6.jpeg","path":"56d57e84491efda971387494f1848ee6.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/aeckself-boho-throw-pillow-covers-18x18-inch-set-of-2-farmhouse-decorative-striped-square-pillow-covers-chenille-tufted-pillow-cases-accent-neutral-pillowcase-for-living-room-couch-bed-gray-b0d9tyg3d7?variant=47b439e0-1bb6-423d-a264-b6947a334d68","available_quantity":1000,"options":[{"name":"Size","value":"Dark Green"},{"name":"Color","value":"18\" x 18\" (Pack of 2)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Size:
Dark Green
${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:
18" x 18" (Pack of 2)
${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
$25.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":"47b439e0-1bb6-423d-a264-b6947a334d68","product_id":"157d0760-9e15-4fc3-91f7-6cbc77f5c11f","title":"Dark Green-18\" x 18\" (Pack of 2)","weight_unit":"kg","inventory_quantity":1000,"sku":"B0D9TYHYH6","barcode":"","position":1,"option1":"Dark Green","option2":"18\" x 18\" (Pack of 2)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56d57e84491efda971387494f1848ee6.jpeg","path":"56d57e84491efda971387494f1848ee6.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/aeckself-boho-throw-pillow-covers-18x18-inch-set-of-2-farmhouse-decorative-striped-square-pillow-covers-chenille-tufted-pillow-cases-accent-neutral-pillowcase-for-living-room-couch-bed-gray-b0d9tyg3d7?variant=47b439e0-1bb6-423d-a264-b6947a334d68","available_quantity":1000,"options":[{"name":"Size","value":"Dark Green"},{"name":"Color","value":"18\" x 18\" (Pack of 2)"}],"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":"47b439e0-1bb6-423d-a264-b6947a334d68","product_id":"157d0760-9e15-4fc3-91f7-6cbc77f5c11f","title":"Dark Green-18\" x 18\" (Pack of 2)","weight_unit":"kg","inventory_quantity":1000,"sku":"B0D9TYHYH6","barcode":"","position":1,"option1":"Dark Green","option2":"18\" x 18\" (Pack of 2)","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/56d57e84491efda971387494f1848ee6.jpeg","path":"56d57e84491efda971387494f1848ee6.jpeg","width":1500,"height":1500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/aeckself-boho-throw-pillow-covers-18x18-inch-set-of-2-farmhouse-decorative-striped-square-pillow-covers-chenille-tufted-pillow-cases-accent-neutral-pillowcase-for-living-room-couch-bed-gray-b0d9tyg3d7?variant=47b439e0-1bb6-423d-a264-b6947a334d68","available_quantity":1000,"options":[{"name":"Size","value":"Dark Green"},{"name":"Color","value":"18\" x 18\" (Pack of 2)"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}