{"id":13343,"date":"2023-05-06T02:08:12","date_gmt":"2023-05-06T06:08:12","guid":{"rendered":"https:\/\/buzapps.net\/info\/?post_type=knowledgebase&#038;p=13343"},"modified":"2023-05-07T23:29:58","modified_gmt":"2023-05-08T03:29:58","slug":"how-do-i-embed-my-woocommerce-wordpress-website","status":"publish","type":"knowledgebase","link":"https:\/\/buzapps.net\/info\/knowledgebase\/how-to\/how-do-i-embed-my-woocommerce-wordpress-website\/","title":{"rendered":"How do I embed my WooCommerce WordPress website?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Follow the instructions below if you want to use your WooCommerce shopping cart from your WordPress website in your app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1)<\/strong> Log into your WordPress website and go to the Admin section.\u00a0Navigate to your theme&#8217;s functions.php and add the following code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/**\n * BEGIN: WooCommerce App Embed Code For Theme functions.php.\n *\/\nadd_action( 'after_setup_theme', 'wc_remove_frame_options_header', 11 );\n \n\/**\n * Allow rendering of checkout and account pages in iframes.\n *\/\nfunction wc_remove_frame_options_header() {\n\tremove_action( 'template_redirect', 'wc_send_frame_options_header' );\n\tremove_action( 'login_init', 'send_frame_options_header' );\nremove_action( 'admin_init', 'send_frame_options_header' );\n \n}\n\/**\n * END: WooCommerce App Embed Code For Theme functions.php.\n *\/<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2) <\/strong>Log into your App Manager and <strong>select your app<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3)<\/strong>&nbsp;Click&nbsp;<strong>Features<\/strong>&nbsp;from the left-hand-side of the screen (or the middle of the screen).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4)<\/strong> Scroll to the <strong>Source Code <\/strong>app page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5)<\/strong><strong>Rename the page<\/strong> to whatever name you would like to show in the app.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>6)<\/strong> In the <strong>code box<\/strong>, paste the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Go Back\nGo Home\nGo Forward\n \n <strong>7)<\/strong> Click <strong>Save<\/strong>.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Follow the instructions below if you want to use your WooCommerce shopping cart from your WordPress website in your app. 1) Log into your WordPress website and go to the Admin section.\u00a0Navigate to your theme&#8217;s functions.php and add the following code: 2) Log into your App Manager and select your app. 3)&nbsp;Click&nbsp;Features&nbsp;from the left-hand-side of the screen (or the middle of the screen). 4) Scroll to the Source Code app page. 5)Rename the page to whatever name you would like to show in the app. 6) In the code box, paste the following: Go Back Go Home Go Forward 7)<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","knowledgebase_cat":[35],"class_list":["post-13343","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-how-to"],"_links":{"self":[{"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/knowledgebase\/13343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/comments?post=13343"}],"version-history":[{"count":2,"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/knowledgebase\/13343\/revisions"}],"predecessor-version":[{"id":14142,"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/knowledgebase\/13343\/revisions\/14142"}],"wp:attachment":[{"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/media?parent=13343"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/buzapps.net\/info\/wp-json\/wp\/v2\/knowledgebase_cat?post=13343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}