{"product_id":"wall-hanging-in-a-library-fabric","title":"Wall Hanging in a Library Fabric","description":"\u003cdiv id=\"rbf\" style=\"border:1px solid rgba(0,0,0,.2);border-radius:6px;padding:16px;margin:0 0 18px\"\u003e\n\u003clabel for=\"rbf-code\" style=\"display:block;font-weight:600;margin-bottom:6px\"\u003eYour fabric code\u003c\/label\u003e\n\u003cinput id=\"rbf-code\" type=\"text\" placeholder=\"e.g. RB-104\" maxlength=\"7\" autocomplete=\"off\" style=\"width:160px;padding:10px;border:1px solid rgba(0,0,0,.3);border-radius:4px;font:inherit;text-transform:uppercase\"\u003e\n\u003cspan id=\"rbf-msg\" style=\"margin-left:10px;font-size:.9em\"\u003e\u003c\/span\u003e\n\u003cdiv id=\"rbf-prev\" style=\"display:none;gap:8px;margin-top:12px;grid-template-columns:1fr 1fr\"\u003e\n\u003cimg id=\"rbf-i1\" alt=\"Swatch of your chosen fabric\" style=\"width:100%;aspect-ratio:4\/3;object-fit:cover\"\u003e\u003cimg id=\"rbf-i2\" alt=\"Your chosen fabric made up as a wall hanging\" style=\"width:100%;aspect-ratio:4\/3;object-fit:cover\"\u003e\n\u003c\/div\u003e\n\u003cp style=\"margin:10px 0 0;font-size:.9em\"\u003ePick a fabric from the swatches, or enter its code from our \u003ca href=\"\/pages\/fabric-library\"\u003eFabric Library\u003c\/a\u003e. Same price whichever fabric you choose.\u003c\/p\u003e\n\u003c\/div\u003e\n\u003cscript\u003e\n(function(){\nvar CDN='https:\/\/cdn.shopify.com\/s\/files\/1\/1081\/6382\/6001\/files\/',KIND='wall-hanging',BIG=['1200 × 400 mm','1200 × 700 mm'],REQ='Heritage fabrics are made on request at this size: please get in touch';\nvar inp=document.getElementById('rbf-code'),msg=document.getElementById('rbf-msg'),pv=document.getElementById('rbf-prev');\nfunction big(){var r=[].slice.call(document.querySelectorAll('input[type=radio]:checked'));for(var i=0;i\u003cr.length;i++)if(BIG.indexOf(r[i].value)\u003e=0)return true;var s=[].slice.call(document.querySelectorAll('select'));for(var j=0;j\u003cs.length;j++){var o=s[j].selectedOptions\u0026\u0026s[j].selectedOptions[0];if(BIG.indexOf(s[j].value)\u003e=0||(o\u0026\u0026BIG.indexOf(o.text.trim())\u003e=0))return true}return false}\nfunction hv(v){var h=\/^RB-H(\\d{3})$\/.exec(v);return !!h\u0026\u0026+h[1]\u003e=1\u0026\u0026+h[1]\u003c=308}\nfunction ok(v){if(hv(v))return !big();var m=\/^RB-(\\d{3})$\/.exec(v);return m\u0026\u0026+m[1]\u003e=1\u0026\u0026+m[1]\u003c=805\u0026\u0026[20,23,26,27,129,130,131,132,133,134,400,402,403,404,405,406,407,408,648,649,650,651,652,653,654,655,656,766].indexOf(+m[1])\u003c0}\nfunction forms(){return document.querySelectorAll('form[action*=\"\/cart\/add\"]')}\nfunction hidden(){forms().forEach(function(f){var h=f.querySelector('input[name=\"properties[Fabric]\"]');if(!h){h=document.createElement('input');h.type='hidden';h.name='properties[Fabric]';f.appendChild(h)}h.value=ok(inp.value)?inp.value:''})}\nfunction upd(){inp.value=inp.value.toUpperCase().replace(\/^RB(H?\\d)\/,'RB-$1');var v=inp.value;\nif(ok(v)){msg.textContent='✓';msg.style.color='#1a7f37';var c=v.toLowerCase();document.getElementById('rbf-i1').src=CDN+c+'_swatch.jpg';document.getElementById('rbf-i2').src=CDN+c+'_'+KIND+'.jpg';pv.style.display='grid'}\nelse{msg.textContent=v?(hv(v)?REQ:'Codes look like RB-104'):'';msg.style.color='#b42318';pv.style.display='none'}hidden()}\ninp.addEventListener('input',upd);\ndocument.addEventListener('change',function(){setTimeout(upd,50)},true);\nvar q=new URLSearchParams(location.search).get('fabric');if(q)inp.value=q;\ndocument.addEventListener('click',function(e){var b=e.target.closest\u0026\u0026e.target.closest('button[name=\"add\"],button[type=\"submit\"]');if(!b||!b.closest('form[action*=\"\/cart\/add\"]'))return;hidden();\nif(!ok(inp.value)){e.preventDefault();e.stopImmediatePropagation();msg.textContent=hv(inp.value)?REQ:'Please enter your fabric code first';msg.style.color='#b42318';inp.focus();inp.scrollIntoView({block:'center'})}},true);\ndocument.addEventListener('submit',function(e){if(e.target.matches\u0026\u0026e.target.matches('form[action*=\"\/cart\/add\"]')){hidden();if(!ok(inp.value)){e.preventDefault();e.stopImmediatePropagation()}}},true);\nfunction place(){var box=document.getElementById('rbf'),f=document.querySelector('form[action*=\"\/cart\/add\"]');if(box\u0026\u0026f){var t=f.closest('buy-buttons-component,.buy-buttons-block,product-form-component')||f;t.parentNode.insertBefore(box,t)}upd()}\nif(document.readyState=='loading')document.addEventListener('DOMContentLoaded',place);else place();\n})();\n\u003c\/script\u003e\n\u003cp\u003eA Rare Bird textile wall hanging, made to order in your choice of fabric from the \u003ca href=\"\/pages\/fabric-library\"\u003eRare Bird Fabric Library\u003c\/a\u003e: more than 1,000 prints, from bold contemporary designs to classic heritage patterns. Pick a fabric from the swatches, or enter its RB code in the fabric code box.\u003c\/p\u003e\u003cp\u003eEach wall hanging is made in our West Wales workshop: a solid timber frame, built by hand, with the fabric stretched, wrapped around a 50 mm (2\") deep frame and fixed neatly behind.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003eFrame depth:\u003c\/strong\u003e 50 mm (2\")\u003cbr\u003e\u003cstrong\u003eSizes:\u003c\/strong\u003e shown as width × height, as it hangs on the wall. Heritage fabrics (codes starting RB-H) come on a narrower roll, so the 1200 mm-wide sizes in them are made on request.\u003cbr\u003e\u003cstrong\u003ePrice:\u003c\/strong\u003e the same whichever library fabric you choose.\u003cbr\u003e\u003cstrong\u003eLead time:\u003c\/strong\u003e made to order, allow 2 weeks\u003cbr\u003e\u003cstrong\u003eDelivery:\u003c\/strong\u003e free to mainland UK, the Scottish Highlands and Northern Ireland\u003c\/p\u003e\u003cp\u003e\u003cem\u003eLibrary images are digital visualisations. As each piece is cut by hand, the placement of the print will vary slightly.\u003c\/em\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eFree fabric samples:\u003c\/strong\u003e not sure which fabric? \u003ca href=\"\/pages\/order-samples\"\u003eOrder up to five free fabric samples\u003c\/a\u003e, just £1.50 postage.\u003c\/p\u003e\n\u003cscript src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/1081\/6382\/6001\/files\/sample-btn.js?v=2\" defer\u003e\u003c\/script\u003e\n\u003cdiv id=\"rbcfg-data\" data-default=\"RB-001\" hidden\u003e\u003c\/div\u003e\n\u003cscript src=\"https:\/\/cdn.shopify.com\/s\/files\/1\/1081\/6382\/6001\/files\/rb-cfg.js?v=1\" defer\u003e\u003c\/script\u003e","brand":"Rare Bird Living","offers":[{"title":"600 × 400 mm","offer_id":55362962653521,"sku":"RB-WH-LIB-600x400","price":99.0,"currency_code":"GBP","in_stock":true},{"title":"400 × 600 mm","offer_id":55362962686289,"sku":"RB-WH-LIB-400x600","price":99.0,"currency_code":"GBP","in_stock":true},{"title":"900 × 300 mm","offer_id":55362962719057,"sku":"RB-WH-LIB-900x300","price":109.0,"currency_code":"GBP","in_stock":true},{"title":"300 × 900 mm","offer_id":55362962751825,"sku":"RB-WH-LIB-300x900","price":109.0,"currency_code":"GBP","in_stock":true},{"title":"800 × 500 mm","offer_id":55362962784593,"sku":"RB-WH-LIB-800x500","price":131.0,"currency_code":"GBP","in_stock":true},{"title":"500 × 800 mm","offer_id":55362962817361,"sku":"RB-WH-LIB-500x800","price":131.0,"currency_code":"GBP","in_stock":true},{"title":"1200 × 400 mm","offer_id":55362962850129,"sku":"RB-WH-LIB-1200x400","price":149.0,"currency_code":"GBP","in_stock":true},{"title":"400 × 1200 mm","offer_id":55362962882897,"sku":"RB-WH-LIB-400x1200","price":149.0,"currency_code":"GBP","in_stock":true},{"title":"1000 × 600 mm","offer_id":55362962915665,"sku":"RB-WH-LIB-1000x600","price":169.0,"currency_code":"GBP","in_stock":true},{"title":"600 × 1000 mm","offer_id":55362962948433,"sku":"RB-WH-LIB-600x1000","price":169.0,"currency_code":"GBP","in_stock":true},{"title":"500 × 1500 mm","offer_id":55362962981201,"sku":"RB-WH-LIB-500x1500","price":199.0,"currency_code":"GBP","in_stock":true},{"title":"1200 × 700 mm","offer_id":55362963013969,"sku":"RB-WH-LIB-1200x700","price":209.0,"currency_code":"GBP","in_stock":true},{"title":"700 × 1200 mm","offer_id":55362963046737,"sku":"RB-WH-LIB-700x1200","price":209.0,"currency_code":"GBP","in_stock":true},{"title":"600 × 1800 mm","offer_id":55362963079505,"sku":"RB-WH-LIB-600x1800","price":249.0,"currency_code":"GBP","in_stock":true},{"title":"800 × 1400 mm","offer_id":55362963112273,"sku":"RB-WH-LIB-800x1400","price":249.0,"currency_code":"GBP","in_stock":true},{"title":"900 × 1600 mm","offer_id":55362963145041,"sku":"RB-WH-LIB-900x1600","price":279.0,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1081\/6382\/6001\/files\/fabric-library-swatches_8ee3021d-6e8b-4ab6-a1fd-b09950fc84aa.jpg?v=1792400265","url":"https:\/\/rarebirdliving.co.uk\/products\/wall-hanging-in-a-library-fabric","provider":"Rare Bird Living","version":"1.0","type":"link"}