{"id":218162,"date":"2019-12-30T14:49:43","date_gmt":"2019-12-30T14:49:43","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=218162"},"modified":"2019-12-30T14:49:44","modified_gmt":"2019-12-30T14:49:44","slug":"admin-and-customer-login-process-in-opencart","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/","title":{"rendered":"Admin and Customer  login process in OpenCart"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Let&#8217;s First start with the Admin login Process<\/h3>\n\n\n\n<p>When you open the admin login page and then submit the login form than form submit on the below controller file<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>admin\/controller\/common\/login.php<\/strong><\/li><\/ul>\n\n\n\n<p>When a user submit the login form then request go to the above controller file, this file first check and call the validate function of the controller to validate the login form values, like below screenshot:- <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1050\" height=\"173\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\" alt=\"postmethod-1\" class=\"wp-image-218171\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png 1050w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1-300x49.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1-250x41.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1-768x127.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we will look into the validate function of the above controller file<\/strong><\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img decoding=\"async\" width=\"1050\" height=\"173\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod.png\" alt=\"validatemethod\" data-id=\"218173\" data-full-url=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod.png\" data-link=\"https:\/\/webkul.com\/blog\/?attachment_id=218173\" class=\"wp-image-218173\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod.png 1050w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod-300x49.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod-250x41.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatemethod-768x127.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" loading=\"lazy\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p>Here inside the if condition OpenCart check if username is empty or password is empty and after the it call the<strong> User.php<\/strong> library function to validate that if any user exist or not with the provided username and password value. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we will look into the User.php library files.<\/strong><\/p><\/blockquote>\n\n\n\n<p>You will get this library on the below location.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>system\/library\/cart\/user.php (in versions above 2.1.x.x)<\/strong><\/li><li><strong>system\/library\/user.php (in versions below 2.2.x.x)<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1033\" height=\"547\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogin.png\" alt=\"librarylogin\" class=\"wp-image-218185\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogin.png 1033w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogin-300x159.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogin-250x132.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogin-768x407.png 768w\" sizes=\"(max-width: 1033px) 100vw, 1033px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Inside this library login function OpenCart first check execute a query in the database with the provided username and password by the user.<\/p>\n\n\n\n<p>After the execution of the above MySQL query this <strong>$user_query-&gt;num_rows<\/strong> check if there is any row found for the above MySQL query. IF there is any row found than first OpenCart add the <strong>user_id<\/strong> in the session variable.<\/p>\n\n\n\n<p> After that, add the user details in the private variables like:- <strong><em>$this<\/em>-&gt;user_id,<em>$this<\/em>-&gt;username <\/strong>etc.<\/p>\n\n\n\n<p>So that we can directly get the current user details anywhere on admin end of OpenCart.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we again go to the first image where the request came when user submit the login form<\/strong><\/p><\/blockquote>\n\n\n\n<p>When both the if condition true then OpenCart checks if there is any redirect URL in the POST request. This is only for to redirect the user on that particular page from where he is redirected to admin login page. If there is any redirect URL than it will redirect the user to that particular page other on the admin dashboard page.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Now, we will look into the Customer login process<\/h3>\n\n\n\n<p>When you open the customer login page and then submit the login form than form submit on the below controller file<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>catalog\/controller\/account\/login.php<\/strong><\/li><\/ul>\n\n\n\n<p>When a customer submit the login form then request go to the above controller file, this file first check and call the validate function of the controller to validate the login form values, like below screenshot:-<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1037\" height=\"572\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/customerlogin.png\" alt=\"customerlogin\" class=\"wp-image-218204\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/customerlogin.png 1037w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/customerlogin-300x165.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/customerlogin-250x138.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/customerlogin-768x424.png 768w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we will look into the validate function of the above controller file<\/strong><\/p><\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1050\" height=\"454\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatecustomer.png\" alt=\"validatecustomer\" class=\"wp-image-218208\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatecustomer.png 1050w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatecustomer-300x130.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatecustomer-250x108.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/validatecustomer-768x332.png 768w\" sizes=\"(max-width: 1050px) 100vw, 1050px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>Here first the function check for the no of failed login attempts to prevent the current customer to logged In. <\/p>\n\n\n\n<p>After that, function check if the current customer status is disabled or not with the provided email address.<\/p>\n\n\n\n<p>After that, validate function call the <strong>customer.php<\/strong> library function to validate the current customer details. If the library function return false than OpenCart add a failed login attempt for the provided email or the library function return true than OpenCart delete all the failed attempts to that particular email address.  <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we will look into the customer.php library function.<\/strong><\/p><\/blockquote>\n\n\n\n<p>You will get this library on the below location.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>system\/library\/cart\/customer.php (in versions above 2.1.x.x)<\/strong><\/li><li><strong>system\/library\/customer.php (in versions below 2.2.x.x)<\/strong><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1080\" height=\"490\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogincustomer.png\" alt=\"librarylogincustomer\" class=\"wp-image-218211\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogincustomer.png 1080w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogincustomer-300x136.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogincustomer-250x113.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/librarylogincustomer-768x348.png 768w\" sizes=\"(max-width: 1080px) 100vw, 1080px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>In this function first it checks for the if a admin trying to login the customer account using the admin end, In this case we pass the override true as a third argument than OpenCart doesn&#8217;t check for the valid password for the customer account otherwise OpenCart check for the result with the provided email and password value in the MySQL query.<\/p>\n\n\n\n<p>After the execution of the above MySQL query this\u00a0<strong>$customer_query-&gt;num_rows\u00a0<\/strong>check if there is any row found for the above MySQL query. IF there is any row found than first OpenCart add the\u00a0<strong>customer_id<\/strong>\u00a0in the session variable.<\/p>\n\n\n\n<p>After that, add the user details in the private variables like:-<strong>\u00a0<em>$this<\/em>-&gt;customer_id,<em>$this<\/em>-&gt;email\u00a0etc.<\/strong> So that we can directly get the current customer details anywhere on front end of OpenCart.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Now, we again go to the first image where the request came when customer submit the login form<\/strong><\/p><\/blockquote>\n\n\n\n<p>When the both the condition of if statement will be true, after that OpenCart add the customer default address in the <strong>payment_address<\/strong> and <strong>shipping_address<\/strong> session variable to get the <strong>tax rate, shipping rates<\/strong> etc. <\/p>\n\n\n\n<p>After that, OpenCart manages the session when user is not logged In like:- wishlist etc. and added these wishlist products to the customer account.   <\/p>\n\n\n\n<p><strong>In case you have any Query then feel free to ask in the comment section below.<\/strong> <strong>I hope It will help you. Thanks<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s First start with the Admin login Process When you open the admin login page and then submit the login form than form submit on the below controller file admin\/controller\/common\/login.php When a user submit the login form then request go to the above controller file, this file first check and call the validate function of <a href=\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":218,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2071],"class_list":["post-218162","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-opencart"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Admin and Customer login process in OpenCart - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Admin and Customer login process in OpenCart - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Let&#8217;s First start with the Admin login Process When you open the admin login page and then submit the login form than form submit on the below controller file admin\/controller\/common\/login.php When a user submit the login form then request go to the above controller file, this file first check and call the validate function of [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-12-30T14:49:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-30T14:49:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\" \/>\n<meta name=\"author\" content=\"Jawahar Lal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jawahar Lal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\"},\"author\":{\"name\":\"Jawahar Lal\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c297c18973bfa8496fc239f168fe23bd\"},\"headline\":\"Admin and Customer login process in OpenCart\",\"datePublished\":\"2019-12-30T14:49:43+00:00\",\"dateModified\":\"2019-12-30T14:49:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\"},\"wordCount\":807,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\",\"keywords\":[\"opencart\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\",\"url\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\",\"name\":\"Admin and Customer login process in OpenCart - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\",\"datePublished\":\"2019-12-30T14:49:43+00:00\",\"dateModified\":\"2019-12-30T14:49:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png\",\"width\":1050,\"height\":173,\"caption\":\"postmethod-1\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Admin and Customer login process in OpenCart\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/c297c18973bfa8496fc239f168fe23bd\",\"name\":\"Jawahar Lal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/99f140efcc9e53f01a3a625b0067d464c7ae4cdb24303f0ffcf9d03d6b34a7d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/99f140efcc9e53f01a3a625b0067d464c7ae4cdb24303f0ffcf9d03d6b34a7d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Jawahar Lal\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/jawaharlal-oc401\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Admin and Customer login process in OpenCart - Webkul Blog","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:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/","og_locale":"en_US","og_type":"article","og_title":"Admin and Customer login process in OpenCart - Webkul Blog","og_description":"Let&#8217;s First start with the Admin login Process When you open the admin login page and then submit the login form than form submit on the below controller file admin\/controller\/common\/login.php When a user submit the login form then request go to the above controller file, this file first check and call the validate function of [...]","og_url":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2019-12-30T14:49:43+00:00","article_modified_time":"2019-12-30T14:49:44+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png","type":"","width":"","height":""}],"author":"Jawahar Lal","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Jawahar Lal","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/"},"author":{"name":"Jawahar Lal","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c297c18973bfa8496fc239f168fe23bd"},"headline":"Admin and Customer login process in OpenCart","datePublished":"2019-12-30T14:49:43+00:00","dateModified":"2019-12-30T14:49:44+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/"},"wordCount":807,"commentCount":6,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png","keywords":["opencart"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/","url":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/","name":"Admin and Customer login process in OpenCart - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png","datePublished":"2019-12-30T14:49:43+00:00","dateModified":"2019-12-30T14:49:44+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/12\/postmethod-1.png","width":1050,"height":173,"caption":"postmethod-1"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/admin-and-customer-login-process-in-opencart\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Admin and Customer login process in OpenCart"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/c297c18973bfa8496fc239f168fe23bd","name":"Jawahar Lal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/99f140efcc9e53f01a3a625b0067d464c7ae4cdb24303f0ffcf9d03d6b34a7d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/99f140efcc9e53f01a3a625b0067d464c7ae4cdb24303f0ffcf9d03d6b34a7d0?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Jawahar Lal"},"url":"https:\/\/webkul.com\/blog\/author\/jawaharlal-oc401\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/218162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/218"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=218162"}],"version-history":[{"count":38,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/218162\/revisions"}],"predecessor-version":[{"id":218521,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/218162\/revisions\/218521"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=218162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=218162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=218162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}