{"id":203,"date":"2020-10-22T14:35:14","date_gmt":"2020-10-22T14:35:14","guid":{"rendered":"https:\/\/test.portal.is\/?p=203"},"modified":"2020-10-22T14:35:39","modified_gmt":"2020-10-22T14:35:39","slug":"af-hverju-eg","status":"publish","type":"post","link":"https:\/\/test.portal.is\/?p=203","title":{"rendered":"Af hverju \u00e9g?"},"content":{"rendered":"\n<div id='product-component-1603378107437'><\/div>\n<script type=\"text\/javascript\">\n\/*<![CDATA[*\/\n(function () {\n  var scriptURL = 'https:\/\/sdks.shopifycdn.com\/buy-button\/latest\/buy-button-storefront.min.js';\n  if (window.ShopifyBuy) {\n    if (window.ShopifyBuy.UI) {\n      ShopifyBuyInit();\n    } else {\n      loadScript();\n    }\n  } else {\n    loadScript();\n  }\n  function loadScript() {\n    var script = document.createElement('script');\n    script.async = true;\n    script.src = scriptURL;\n    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);\n    script.onload = ShopifyBuyInit;\n  }\n  function ShopifyBuyInit() {\n    var client = ShopifyBuy.buildClient({\n      domain: 'testportalshop.myshopify.com',\n      storefrontAccessToken: '5b550e60c46c413d198b251cdc72f1ad',\n    });\n    ShopifyBuy.UI.onReady(client).then(function (ui) {\n      ui.createComponent('product', {\n        id: '5977794019505',\n        node: document.getElementById('product-component-1603378107437'),\n        moneyFormat: '%7B%7Bamount_no_decimals%7D%7D%20kr',\n        options: {\n  \"product\": {\n    \"styles\": {\n      \"product\": {\n        \"@media (min-width: 601px)\": {\n          \"max-width\": \"100%\",\n          \"margin-left\": \"0\",\n          \"margin-bottom\": \"50px\"\n        },\n        \"text-align\": \"left\"\n      },\n      \"title\": {\n        \"font-size\": \"26px\"\n      },\n      \"price\": {\n        \"font-size\": \"18px\"\n      },\n      \"compareAt\": {\n        \"font-size\": \"15.299999999999999px\"\n      },\n      \"unitPrice\": {\n        \"font-size\": \"15.299999999999999px\"\n      }\n    },\n    \"layout\": \"horizontal\",\n    \"contents\": {\n      \"img\": false,\n      \"imgWithCarousel\": true,\n      \"description\": true\n    },\n    \"width\": \"100%\",\n    \"text\": {\n      \"button\": \"Add to cart\"\n    }\n  },\n  \"productSet\": {\n    \"styles\": {\n      \"products\": {\n        \"@media (min-width: 601px)\": {\n          \"margin-left\": \"-20px\"\n        }\n      }\n    }\n  },\n  \"modalProduct\": {\n    \"contents\": {\n      \"img\": false,\n      \"imgWithCarousel\": true,\n      \"button\": false,\n      \"buttonWithQuantity\": true\n    },\n    \"styles\": {\n      \"product\": {\n        \"@media (min-width: 601px)\": {\n          \"max-width\": \"100%\",\n          \"margin-left\": \"0px\",\n          \"margin-bottom\": \"0px\"\n        }\n      }\n    },\n    \"text\": {\n      \"button\": \"Add to cart\"\n    }\n  },\n  \"cart\": {\n    \"text\": {\n      \"total\": \"Subtotal\",\n      \"button\": \"Checkout\"\n    },\n    \"popup\": false\n  }\n},\n      });\n    });\n  }\n})();\n\/*]]>*\/\n<\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"elementor_header_footer","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/test.portal.is\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=203"}],"version-history":[{"count":1,"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/test.portal.is\/index.php?rest_route=\/wp\/v2\/posts\/203\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/test.portal.is\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/test.portal.is\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/test.portal.is\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}