{"id":40,"date":"2022-09-18T16:45:16","date_gmt":"2022-09-18T15:45:16","guid":{"rendered":"http:\/\/s932639149.websitehome.co.uk\/?page_id=40"},"modified":"2025-07-23T09:40:44","modified_gmt":"2025-07-23T08:40:44","slug":"buy-here","status":"publish","type":"page","link":"https:\/\/flightandbarr.com\/?page_id=40","title":{"rendered":"Buy here!"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"728\" src=\"https:\/\/flightandbarr.com\/wp-content\/uploads\/FBB-painting-restored.jpg\" alt=\"\" class=\"wp-image-117\"\/><\/figure>\n\n\n\n<p>The book is available to purchase below.  A hard-back edition comprising 245 pages, the book is profusely illustrated with over 300 colour photos.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1148\" height=\"1500\" src=\"https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-1148x1500.jpg\" alt=\"\" class=\"wp-image-269\" srcset=\"https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-1148x1500.jpg 1148w, https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-765x1000.jpg 765w, https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-768x1003.jpg 768w, https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-1176x1536.jpg 1176w, https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507-1568x2049.jpg 1568w, https:\/\/flightandbarr.com\/wp-content\/uploads\/20230619_081507.jpg 1667w\" sizes=\"auto, (max-width: 1148px) 100vw, 1148px\" \/><\/figure>\n\n\n\n<p>The price is \u00a349.00 and postage is added at checkout.  Current rates for postage are:  <\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>UK<\/td><td>\u00a3  5.00<\/td><\/tr><tr><td>Europe<\/td><td>\u00a311.00<\/td><\/tr><tr><td>North America<\/td><td>\u00a326.00<\/td><\/tr><tr><td>Rest of World<\/td><td>\u00a330.00<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>To buy now just select your shipment region from the drop down menu and press the payment button for Paypal or card payment.  <\/p>\n\n\n\n<div id=\"smart-button-container\">\n      <div style=\"text-align: center;\">\n        <div style=\"margin-bottom: 1.25rem;\">\n          <p>Worcester Flight and Barr Porcelains 1783-1840<\/p>\n          <select id=\"item-options\"><option value=\"With UK Postage\" price=\"54.00\">With UK Postage &#8211; 54.00 GBP<\/option><option value=\"With Europe Postage\" price=\"60.00\">With Europe Postage &#8211; 60.00 GBP<\/option><option value=\"With N America Postage\" price=\"75.00\">With N America Postage &#8211; 75.00 GBP<\/option><option value=\"With Rest of World postage\" price=\"79.00\">With Rest of World postage &#8211; 79.00 GBP<\/option><\/select>\n          <select style=\"visibility: hidden\" id=\"quantitySelect\"><\/select>\n        <\/div>\n      <div id=\"paypal-button-container\"><\/div>\n      <\/div>\n    <\/div>\n    <script src=\"https:\/\/www.paypal.com\/sdk\/js?client-id=AYycTjo5nCWDQR6s8w3xf70WmC9uBhOwHTN3HaSowdcCR61KZbAJRUG_xnA9yYEWK-RHBF4z-9PfBgpq&amp;enable-funding=venmo&amp;currency=GBP\" data-sdk-integration-source=\"button-factory\"><\/script>\n    <script>\n      function initPayPalButton() {\n        var shipping = 0;\n        var itemOptions = document.querySelector(\"#smart-button-container #item-options\");\n    var quantity = parseInt();\n    var quantitySelect = document.querySelector(\"#smart-button-container #quantitySelect\");\n    if (!isNaN(quantity)) {\n      quantitySelect.style.visibility = \"visible\";\n    }\n    var orderDescription = 'Flight and Barr Worcester Porcelains 1783-1840';\n    if(orderDescription === '') {\n      orderDescription = 'Item';\n    }\n    paypal.Buttons({\n      style: {\n        shape: 'rect',\n        color: 'gold',\n        layout: 'vertical',\n        label: 'paypal',\n        \n      },\n      createOrder: function(data, actions) {\n        var selectedItemDescription = itemOptions.options[itemOptions.selectedIndex].value;\n        var selectedItemPrice = parseFloat(itemOptions.options[itemOptions.selectedIndex].getAttribute(\"price\"));\n        var tax = (0 === 0 || false) ? 0 : (selectedItemPrice * (parseFloat(0)\/100));\n        if(quantitySelect.options.length > 0) {\n          quantity = parseInt(quantitySelect.options[quantitySelect.selectedIndex].value);\n        } else {\n          quantity = 1;\n        }\n\n        tax *= quantity;\n        tax = Math.round(tax * 100) \/ 100;\n        var priceTotal = quantity * selectedItemPrice + parseFloat(shipping) + tax;\n        priceTotal = Math.round(priceTotal * 100) \/ 100;\n        var itemTotalValue = Math.round((selectedItemPrice * quantity) * 100) \/ 100;\n\n        return actions.order.create({\n          purchase_units: [{\n            description: orderDescription,\n            amount: {\n              currency_code: 'GBP',\n              value: priceTotal,\n              breakdown: {\n                item_total: {\n                  currency_code: 'GBP',\n                  value: itemTotalValue,\n                },\n                shipping: {\n                  currency_code: 'GBP',\n                  value: shipping,\n                },\n                tax_total: {\n                  currency_code: 'GBP',\n                  value: tax,\n                }\n              }\n            },\n            items: [{\n              name: selectedItemDescription,\n              unit_amount: {\n                currency_code: 'GBP',\n                value: selectedItemPrice,\n              },\n              quantity: quantity\n            }]\n          }]\n        });\n      },\n      onApprove: function(data, actions) {\n        return actions.order.capture().then(function(orderData) {\n          \n          \/\/ Full available details\n          console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));\n\n          \/\/ Show a success message within this page, e.g.\n          const element = document.getElementById('paypal-button-container');\n          element.innerHTML = '';\n          element.innerHTML = '<h3>Thank you for your payment!<\/h3>';\n\n          \/\/ Or go to another URL:  actions.redirect('thank_you.html');\n\n        });\n      },\n      onError: function(err) {\n        console.log(err);\n      },\n    }).render('#paypal-button-container');\n  }\n  initPayPalButton();\n    <\/script>\n","protected":false},"excerpt":{"rendered":"<p>The book is available to purchase below. A hard-back edition comprising 245 pages, the book is profusely illustrated with over 300 colour photos. The price is \u00a349.00 and postage is added at checkout. Current rates for postage are: UK \u00a3 5.00 Europe \u00a311.00 North America \u00a326.00 Rest of World \u00a330.00 To buy now just select&hellip; <a class=\"more-link\" href=\"https:\/\/flightandbarr.com\/?page_id=40\">Continue reading <span class=\"screen-reader-text\">Buy here!<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-40","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/pages\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flightandbarr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=40"}],"version-history":[{"count":28,"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/pages\/40\/revisions"}],"predecessor-version":[{"id":328,"href":"https:\/\/flightandbarr.com\/index.php?rest_route=\/wp\/v2\/pages\/40\/revisions\/328"}],"wp:attachment":[{"href":"https:\/\/flightandbarr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}