{"id":6904,"date":"2021-08-02T10:30:09","date_gmt":"2021-08-02T05:00:09","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=6904"},"modified":"2023-01-20T18:55:00","modified_gmt":"2023-01-20T13:25:00","slug":"convert-guest-to-customer-magento-2","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/","title":{"rendered":"Convert Guest To Customer Magento 2"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">In normal e-commerce websites, customers do not like to register before placing orders. Customers like to do easy checkout by selecting their product so they prefer to do direct guest checkout. Magento supports Guest checkout but when a customer wants to order the same product that time he\/she is not able to order the same product.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Our Guest to Customer blog for Magento2 quickly and seamlessly converts any guest order and transfers all order and customer information over as a registered customer and notifies the user on how to access their newly created customer account.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A customer can login to an account and check their previous order on the dashboard.<\/span><\/p>\n<h2><b>Steps to Convert Guest To Customer:<\/b><\/h2>\n<h3><span style=\"font-weight: 400;\">Create the folder of GuestCustomer module<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">The name of the module is defined as \u201cVendorName_ModuleName\u201d.<\/span><\/p>\n<p><b>app\/code\/Akansha\/GuestCustomer<\/b><\/p>\n<h3><span style=\"font-weight: 400;\">Create app\/code\/Akansha\/GuestCustomer\/etc\/module.xml file<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">create etc folder and add the module.xml file<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Contents would be:<\/span><\/p>\n<pre class=\"lang:default decode:true\">&lt;?xml version=\"1.0\" ?&gt;\r\n\r\n\u00a0\u00a0\u00a0\u00a0&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module\/etc\/module.xsd\"&gt;\r\n\r\n\u00a0\u00a0\u00a0\u00a0&lt;module name=\"Akansha_GuestCustomer\" setup_version=\"1.0.0\"\/&gt;\r\n\r\n&lt;\/config&gt;<\/pre>\n<h3><span style=\"font-weight: 400;\">Create app\/code\/Akansha\/GuestCustomer\/registration.php fileConvert Guest To\u00a0<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">create registration.php file<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Contents would be:<\/span><\/p>\n<pre class=\"lang:default decode:true\">&lt;?php\r\n\r\n\\Magento\\Framework\\Component\\ComponentRegistrar::register(\r\n\r\n\u00a0\u00a0\u00a0\u00a0\\Magento\\Framework\\Component\\ComponentRegistrar::MODULE,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\"Akansha_GuestCustomer\",\r\n\r\n\u00a0\u00a0\u00a0\u00a0__DIR__\r\n\r\n);<\/pre>\n<h3><span style=\"font-weight: 400;\">Create app\/code\/Akansha\/GuestCustomer\/etc\/frontend\/events.xml file<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Contents would be:<\/span><\/p>\n<pre class=\"lang:default decode:true\">&lt;?xml version=\"1.0\"?&gt;\r\n\r\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Event\/etc\/events.xsd\"&gt;\r\n\r\n\u00a0\u00a0\u00a0\u00a0&lt;event name=\"checkout_onepage_controller_success_action\"&gt;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0&lt;observer name=\"guestregistration\" instance=\"Akansha\\GuestCustomer\\Observer\\ConvertGuest\" \/&gt;\r\n\r\n&lt;\/event&gt;\r\n\r\n&lt;\/config&gt;\r\n\r\n<\/pre>\n<h3><span style=\"font-weight: 400;\">Create app\/code\/Akansha\/GuestCustomer\/Observer\/ConvertGuest.php file<\/span><\/h3>\n<p><span style=\"font-weight: 400;\">Contents would be:<\/span><\/p>\n<pre class=\"lang:default decode:true\">&lt;?php\r\n\r\nnamespace Akansha\\GuestCustomer\\Observer;\r\n\r\nclass ConvertGuest implements \\Magento\\Framework\\Event\\ObserverInterface\r\n\r\n{\r\n\r\n\u00a0\u00a0\u00a0\u00a0public function __construct(\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\Magento\\Store\\Model\\StoreManagerInterface $storeManager,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\Magento\\Sales\\Api\\OrderCustomerManagementInterface $orderCustomerService,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\Magento\\Sales\\Model\\OrderFactory $orderFactory,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\Magento\\Sales\\Api\\OrderRepositoryInterface $orderRepository,\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\\Magento\\Customer\\Model\\CustomerFactory $customer\r\n\r\n\u00a0\u00a0\u00a0\u00a0) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;_storeManager = $storeManager;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;orderCustomerService = $orderCustomerService;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;_orderFactory = $orderFactory;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;orderRepository = $orderRepository;\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;_customer = $customer;\r\n\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\r\n\u00a0\u00a0\u00a0\u00a0public function execute(\\Magento\\Framework\\Event\\Observer $observer)\r\n\r\n\u00a0\u00a0\u00a0\u00a0{\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$orderIds = $observer-&gt;getEvent()-&gt;getOrderIds();\r\n\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$orderId = $orderIds[0];\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$order = $this-&gt;_orderFactory-&gt;create()-&gt;load($orderId);\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$customer= $this-&gt;_customer-&gt;create();\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$customer-&gt;setWebsiteId($this-&gt;_storeManager-&gt;getStore()-&gt;getWebsiteId());\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$customer-&gt;loadByEmail($order-&gt;getCustomerEmail());\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/Convert guest into customer\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0if ($order-&gt;getId() &amp;&amp; !$customer-&gt;getId()) {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;orderCustomerService-&gt;create($orderId);\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0} else {\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/\/if customer Registered and checkout as guest\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$order-&gt;setCustomerId($customer-&gt;getId());\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$order-&gt;setCustomerIsGuest(0);\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0$this-&gt;orderRepository-&gt;save($order);\r\n\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0}\r\n\r\n\u00a0\u00a0\u00a0\u00a0}\r\n\r\n}<\/pre>\n<p><span style=\"font-weight: 400;\">After creating the module if you run the command as:<\/span><\/p>\n<p><b>PHP bin\/Magento setup:upgrade<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Firstly, Placed an Order as a guest checkout on the Magento website. Complete the Shipping and payment step then placed the order using any email id.<\/span><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter wp-image-6905 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shipping-1.png\" alt=\"\" width=\"823\" height=\"389\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shipping-1.png 823w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shipping-1-300x142.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shipping-1-768x363.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shipping-1-624x295.png 624w\" sizes=\"(max-width: 823px) 100vw, 823px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">After the order is placed, checked your email. There is a welcome email from the Website.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-6906 size-full\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-mail.png\" alt=\"\" width=\"512\" height=\"177\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-mail.png 512w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-mail-300x104.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You will get a link on the e-mail, on clicking that link you can set your password.<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-6907 size-large\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password-1024x335.png\" alt=\"\" width=\"625\" height=\"204\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password-1024x335.png 1024w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password-300x98.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password-768x251.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password-624x204.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/Forget-password.png 1305w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">After setting that password, you will login using that email id or password. After loin, when you see your dashboard, you will see your previous order.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6908 aligncenter\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order-1024x319.png\" alt=\"\" width=\"625\" height=\"195\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order-1024x319.png 1024w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order-300x93.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order-768x239.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order-624x194.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/my-order.png 1295w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">That customer will start showing in the customer grid in the admin panel.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-6909 aligncenter\" src=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details-1024x440.png\" alt=\"\" width=\"625\" height=\"269\" srcset=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details-1024x440.png 1024w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details-300x129.png 300w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details-768x330.png 768w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details-624x268.png 624w, https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/shiping-details.png 1325w\" sizes=\"(max-width: 625px) 100vw, 625px\" \/><\/p>\n<h3><b>Conclusion<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">Our Blog solves this problem related to reordering or modifying existing orders without having to manually copy all of your customer&#8217;s existing billing and shipping information.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In normal e-commerce websites, customers do not like to register before placing orders. Customers like to do easy checkout by selecting their product so they prefer to do direct guest checkout. Magento supports Guest checkout but when a customer wants to order the same product that time he\/she is not able to order the same [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6910,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[681],"tags":[691,688,687,690,689],"class_list":["post-6904","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento-2","tag-convert-guest-customer-to-regular-customer","tag-convert-guest-to-customer","tag-convert-guest-to-customer-magento-2","tag-guest-account-magento-extension","tag-magento-2-guest-to-customer"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Convert Guest To Customer Magento 2 | InnovationM<\/title>\n<meta name=\"description\" content=\"Magento 2 Guest to Customer is an extension that adds the &quot;Convert Guest to Customer&quot; buttons into Order, Invoice, Shipment etc.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Convert Guest To Customer Magento 2 | InnovationM\" \/>\n<meta property=\"og:description\" content=\"Magento 2 Guest to Customer is an extension that adds the &quot;Convert Guest to Customer&quot; buttons into Order, Invoice, Shipment etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-02T05:00:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:25:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer-1024x576.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"Convert Guest To Customer Magento 2\",\"datePublished\":\"2021-08-02T05:00:09+00:00\",\"dateModified\":\"2023-01-20T13:25:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/\"},\"wordCount\":348,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/guest-to-customer.png\",\"keywords\":[\"Convert guest customer to regular customer\",\"Convert Guest To Customer\",\"Convert Guest To Customer Magento 2\",\"Guest Account - Magento extension\",\"Magento 2 Guest to Customer\"],\"articleSection\":[\"Magento 2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/\",\"name\":\"Convert Guest To Customer Magento 2 | InnovationM\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/guest-to-customer.png\",\"datePublished\":\"2021-08-02T05:00:09+00:00\",\"dateModified\":\"2023-01-20T13:25:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"description\":\"Magento 2 Guest to Customer is an extension that adds the \\\"Convert Guest to Customer\\\" buttons into Order, Invoice, Shipment etc.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/guest-to-customer.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/07\\\/guest-to-customer.png\",\"width\":3556,\"height\":2000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/convert-guest-to-customer-magento-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Convert Guest To Customer Magento 2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Convert Guest To Customer Magento 2 | InnovationM","description":"Magento 2 Guest to Customer is an extension that adds the \"Convert Guest to Customer\" buttons into Order, Invoice, Shipment etc.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Convert Guest To Customer Magento 2 | InnovationM","og_description":"Magento 2 Guest to Customer is an extension that adds the \"Convert Guest to Customer\" buttons into Order, Invoice, Shipment etc.","og_url":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/","og_site_name":"InnovationM - Blog","article_published_time":"2021-08-02T05:00:09+00:00","article_modified_time":"2023-01-20T13:25:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer-1024x576.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"Convert Guest To Customer Magento 2","datePublished":"2021-08-02T05:00:09+00:00","dateModified":"2023-01-20T13:25:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/"},"wordCount":348,"commentCount":1,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer.png","keywords":["Convert guest customer to regular customer","Convert Guest To Customer","Convert Guest To Customer Magento 2","Guest Account - Magento extension","Magento 2 Guest to Customer"],"articleSection":["Magento 2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/","url":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/","name":"Convert Guest To Customer Magento 2 | InnovationM","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer.png","datePublished":"2021-08-02T05:00:09+00:00","dateModified":"2023-01-20T13:25:00+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"description":"Magento 2 Guest to Customer is an extension that adds the \"Convert Guest to Customer\" buttons into Order, Invoice, Shipment etc.","breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2021\/07\/guest-to-customer.png","width":3556,"height":2000},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/convert-guest-to-customer-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Convert Guest To Customer Magento 2"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6904","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=6904"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/6904\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/6910"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=6904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=6904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=6904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}