{"id":24844,"date":"2019-03-01T13:00:10","date_gmt":"2019-03-01T13:00:10","guid":{"rendered":"https:\/\/www.knowband.com\/blog\/?p=24844\/"},"modified":"2019-03-13T14:14:32","modified_gmt":"2019-03-13T04:44:32","slug":"get-latest-products-without-special-prices-opencart-2-3","status":"publish","type":"post","link":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/","title":{"rendered":"Get latest products without special prices (Opencart 2.3)"},"content":{"rendered":"<h3><strong>Objectives of the blog<\/strong><\/h3>\n<p>After reading this blog you will be able to fetch products from Opencart database on the basis of parameter which is passed from URL.<\/p>\n<h3><strong>Requirement<\/strong><\/h3>\n<p>We have to display latest products on the basis of passed parameter in the URL. Using this parameter we have to decide that whether we have to display special products or not.<\/p>\n<h3><strong>Code Implementation<\/strong><\/h3>\n<p>To implement this we need to make change in our controller and model. In controller we added condition to pass parameter and in model we will make changes in the query according to the passed parameter.<\/p>\n<p>To handle condition we are using <strong>show_special<\/strong> parameter in the code.<\/p>\n<p>Below is the code which we have to add in controller (<strong>catalog\/controller\/extension\/module\/latest.php<\/strong>):<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">\/*Checking for show_special key in get parameter\r\n* This key ($show_special) will be used to conditionally fetch data from the database.\r\n* i.e. if $show_special = 1 then display products which special\r\n*         $show_special = 0 then display products which are not having special\r\n*      else\r\n*         display all products irrespective of special\r\n*\/\r\nif (isset($this-&gt;request-&gt;get[&#039;show_special&#039;])) {  \r\n     \/\/passing the value in variable if set in URL\r\n     $show_special = $this-&gt;request-&gt;get[&#039;show_special&#039;];\r\n} else {\r\n    \/\/Otherwise empty string will be passed\r\n    $show_special = &#039;&#039;;\r\n}\r\n               \r\n\/\/Creating a variable to be passed into model\r\n$filter_data = array(\r\n&#039;start&#039; =&gt; ($page - 1) * $limit,\r\n&#039;limit&#039; =&gt; $limit,\r\n     &#039;show_special&#039; =&gt; $show_special\r\n);\r\n               \r\n\/\/Calling model function to fetch data from database according to the data passed in the filter_data array.\r\n$results = $this-&gt;model_catalog_product-&gt;getProductLatest($filter_data);<\/pre>\n<p>&nbsp;<\/p>\n<p>In this code first we have checked that if \u2018<strong>show_special<\/strong>\u2019 parameter is set in the URL or not. If yes then set value of parameter in a variable <strong>$show_special<\/strong> and if no then set variable as blank.<\/p>\n<p>Then we have created an array (<strong>$default_data<\/strong>) with the values on behalf of which we have to fetch products from database.<\/p>\n<p>Then we have called model function <strong>getProductLatest()<\/strong> to fetch latest products according to the variable passed (<strong>$filter_data<\/strong>) in the function.<\/p>\n<p>Here is the function which we have to add in model (<strong>catalog\/model\/catalog\/product<\/strong>):<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"brush: actionscript3; gutter: true\">public function getProductLatest($data = array()) {\r\n   \/\/Setting $join and $condition parameters to fetch data of special products\r\n   if($data[&#039;show_special&#039;] == &#039;1&#039;){\r\n        $join = &quot;LEFT JOIN &quot; . DB_PREFIX . &quot;product_special ps  ON (ps.product_id = p.product_id) &quot;;\r\n        $condition = &quot;AND ps.customer_group_id = &#039;&quot; . (int)$this-&gt;config-&gt;get(&#039;config_customer_group_id&#039;) . &quot;&#039;  \r\n                             AND ((ps.date_start = &#039;0000-00-00&#039; OR ps.date_start &lt; NOW()) AND (ps.date_end = &#039;0000-00-00&#039; OR ps.date_end &gt; NOW() OR ps.date_end = &#039;0001-01-01&#039;)) &quot;;\r\n   }\r\n   \/\/Setting $join and $condition parameters to fetch data of products which are not specil\r\n   elseif($data[&#039;show_special&#039;] == &#039;0&#039;){  \r\n       $join = &quot;LEFT JOIN &quot; . DB_PREFIX . &quot;product_special ps  ON (ps.product_id = p.product_id) &quot;;\r\n       $condition = &quot;AND ps.product_id IS NULL&quot;;\r\n   }else{\r\n   \/\/Setting $join and $condition parameters to fetch data of all products irrespective of special\r\n       $join= &#039;&#039;;\r\n       $condition = &#039;&#039;;\r\n   }\r\n           \r\n   \/\/Query to fetch data of products from database. Added $join and $condition parameter in the query to fetch data accordingly\r\n   $sql = &quot;SELECT DISTINCT p.product_id  \r\n           FROM &quot; . DB_PREFIX . &quot;product p  \r\n           LEFT JOIN &quot; . DB_PREFIX . &quot;product_description pd ON (p.product_id = pd.product_id)  \r\n           LEFT JOIN &quot; . DB_PREFIX . &quot;product_to_store p2s ON (p.product_id = p2s.product_id)  \r\n           $join\r\n           WHERE p.status = &#039;1&#039; AND p.date_available &lt;= NOW() AND p2s.store_id = &#039;&quot; . (int)$this-&gt;config-&gt;get(&#039;config_store_id&#039;) . &quot;&#039;  \r\n           $condition\r\n           GROUP BY p.product_id ORDER BY p.product_id DESC&quot;;\r\n           \r\n   \/\/Setting limit in query if passed LIMIT from controller.\r\n   if (isset($data[&#039;start&#039;]) || isset($data[&#039;limit&#039;])) {\r\n          if ($data[&#039;start&#039;] &lt; 0) {\r\n                $data[&#039;start&#039;] = 0;\r\n          }\r\n \r\n          if ($data[&#039;limit&#039;] &lt; 1) {\r\n                $data[&#039;limit&#039;] = 20;\r\n          }\r\n \r\n          $sql .= &quot; LIMIT &quot; . (int)$data[&#039;start&#039;] . &quot;,&quot; . (int)$data[&#039;limit&#039;];\r\n   }\r\n \r\n   $product_data = array();\r\n   \/\/Execute query\r\n   $query = $this-&gt;db-&gt;query($sql);\r\n           \r\n   \/\/Loop to set fetched data in the variable to pass in controller.\r\n   foreach ($query-&gt;rows as $result) {\r\n        $product_data[$result[&#039;product_id&#039;]] = $this-&gt;getProduct($result[&#039;product_id&#039;]);\r\n   }\r\n   \/\/Return products data to controller.\r\n   return $product_data;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>In model we have set variables <strong>$join<\/strong> and <strong>$condition<\/strong> on the basis of following three conditions:<\/p>\n<ol>\n<li><strong>If show_special is 1:<\/strong> In this case we have displayed only products those are special. As in opencart the data of special products is stored in oc_product_special table so we have added join of oc_product table with the oc_product_secial table to fetch data of special products only.<\/li>\n<li><strong>If show_special is 0:<\/strong> In this case we have displayed products which are not set as special. So to find products which are not special we have to fetch products which are in special table but on in oc_product_special table. For this we have added LEFT join of oc_product table with oc_product_secial table and added condition \u201cps.product_id IS NULL\u201d.<\/li>\n<li><strong>If show_special is other than 0 and 1:<\/strong> In this case we have to fetch all products whether they are special or not. So for this we have directly fetched data from oc_product table.<\/li>\n<\/ol>\n<p>After adding all three possible condition we have written query and executed it. Then we have set all fetched data in <strong>$product_data<\/strong> array and return the same to controller.<\/p>\n<p><strong>Note:<\/strong> here to fetch latest products we have just used \u2018Order by product_id DESC\u2019 in query. If you want to fetch data of products which were added in last few days then you can add one more condition in the WHERE clause i.e. date_added &gt; \u2018any date\u2019.<\/p>\n<h2><strong>Summary<\/strong><\/h2>\n<p>After following the above procedure, you will be able to fetch latest special products on the basis of passed parameter for special products in the URL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Objectives of the blog After reading this blog you will be able to fetch products from Opencart database on the basis of parameter which is passed from URL. Requirement We have to display latest products on the basis of passed parameter in the URL. Using this parameter we have to decide that whether we have [&hellip;]<\/p>\n","protected":false},"author":20,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kbui_enabled":"","footnotes":""},"categories":[7],"tags":[9185,9186,8879,9187,8882,8881,8880],"class_list":["post-24844","post","type-post","status-publish","format-standard","hentry","category-opencart-tutorials","tag-latest-products-for-opencart","tag-latest-products-without-special-price-for-opencart","tag-opencart-2-3","tag-opencart-latest-products-without-special-prices","tag-prestashop-tutorial","tag-special-price","tag-tips-to-get-latest-products"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Get latest products without special prices (Opencart 2.3)<\/title>\n<meta name=\"description\" content=\"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.\" \/>\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.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get latest products without special prices (Opencart 2.3)\" \/>\n<meta property=\"og:description\" content=\"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowband Blog | Ecommerce Modules\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Knowband\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-01T13:00:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-13T04:44:32+00:00\" \/>\n<meta name=\"author\" content=\"Shivika Tomar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:site\" content=\"@KnowbandPlugin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shivika Tomar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/\"},\"author\":{\"name\":\"Shivika Tomar\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/cc28589f6431305d8aa3fbb75ce97415\"},\"headline\":\"Get latest products without special prices (Opencart 2.3)\",\"datePublished\":\"2019-03-01T13:00:10+00:00\",\"dateModified\":\"2019-03-13T04:44:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/\"},\"wordCount\":511,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"keywords\":[\"Latest Products for OpenCart\",\"Latest products without special price for Opencart\",\"opencart 2.3\",\"OpenCart latest products without special prices\",\"prestashop tutorial\",\"special price\",\"tips to get latest products\"],\"articleSection\":[\"Opencart Tutorials\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/\",\"name\":\"Get latest products without special prices (Opencart 2.3)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\"},\"datePublished\":\"2019-03-01T13:00:10+00:00\",\"dateModified\":\"2019-03-13T04:44:32+00:00\",\"description\":\"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/opencart-tutorials\\\/get-latest-products-without-special-prices-opencart-2-3\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get latest products without special prices (Opencart 2.3)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#website\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"description\":\"Magento, Prestashop, Opencart, Shopify\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#organization\",\"name\":\"Knowband Blog | Ecommerce Modules\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/09\\\/cropped-knowband_logo-v2.png\",\"width\":153,\"height\":61,\"caption\":\"Knowband Blog | Ecommerce Modules\"},\"image\":{\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Knowband\",\"https:\\\/\\\/x.com\\\/KnowbandPlugin\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/fr\\\/#\\\/schema\\\/person\\\/cc28589f6431305d8aa3fbb75ce97415\",\"name\":\"Shivika Tomar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/02\\\/bio_pic-150x150.jpg\",\"caption\":\"Shivika Tomar\"},\"description\":\"Shivika Tomar is a passionate PHP developer. Her area of interest is website development. She loves to bring healing to stressful and sad peoples.\",\"url\":\"https:\\\/\\\/www.knowband.com\\\/blog\\\/author\\\/stomar\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Get latest products without special prices (Opencart 2.3)","description":"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.","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.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/","og_locale":"en_US","og_type":"article","og_title":"Get latest products without special prices (Opencart 2.3)","og_description":"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.","og_url":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/","og_site_name":"Knowband Blog | Ecommerce Modules","article_publisher":"https:\/\/www.facebook.com\/Knowband","article_published_time":"2019-03-01T13:00:10+00:00","article_modified_time":"2019-03-13T04:44:32+00:00","author":"Shivika Tomar","twitter_card":"summary_large_image","twitter_creator":"@KnowbandPlugin","twitter_site":"@KnowbandPlugin","twitter_misc":{"Written by":"Shivika Tomar","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/#article","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/"},"author":{"name":"Shivika Tomar","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/cc28589f6431305d8aa3fbb75ce97415"},"headline":"Get latest products without special prices (Opencart 2.3)","datePublished":"2019-03-01T13:00:10+00:00","dateModified":"2019-03-13T04:44:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/"},"wordCount":511,"commentCount":0,"publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"keywords":["Latest Products for OpenCart","Latest products without special price for Opencart","opencart 2.3","OpenCart latest products without special prices","prestashop tutorial","special price","tips to get latest products"],"articleSection":["Opencart Tutorials"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/","url":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/","name":"Get latest products without special prices (Opencart 2.3)","isPartOf":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#website"},"datePublished":"2019-03-01T13:00:10+00:00","dateModified":"2019-03-13T04:44:32+00:00","description":"This blog provides information to fetch products from Opencart database on the basis of parameter which is passed from URL.","breadcrumb":{"@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.knowband.com\/blog\/opencart-tutorials\/get-latest-products-without-special-prices-opencart-2-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.knowband.com\/blog\/fr\/"},{"@type":"ListItem","position":2,"name":"Get latest products without special prices (Opencart 2.3)"}]},{"@type":"WebSite","@id":"https:\/\/www.knowband.com\/blog\/fr\/#website","url":"https:\/\/www.knowband.com\/blog\/fr\/","name":"Knowband Blog | Ecommerce Modules","description":"Magento, Prestashop, Opencart, Shopify","publisher":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.knowband.com\/blog\/fr\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.knowband.com\/blog\/fr\/#organization","name":"Knowband Blog | Ecommerce Modules","url":"https:\/\/www.knowband.com\/blog\/fr\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2016\/09\/cropped-knowband_logo-v2.png","width":153,"height":61,"caption":"Knowband Blog | Ecommerce Modules"},"image":{"@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Knowband","https:\/\/x.com\/KnowbandPlugin"]},{"@type":"Person","@id":"https:\/\/www.knowband.com\/blog\/fr\/#\/schema\/person\/cc28589f6431305d8aa3fbb75ce97415","name":"Shivika Tomar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","url":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","contentUrl":"https:\/\/www.knowband.com\/blog\/wp-content\/uploads\/2019\/02\/bio_pic-150x150.jpg","caption":"Shivika Tomar"},"description":"Shivika Tomar is a passionate PHP developer. Her area of interest is website development. She loves to bring healing to stressful and sad peoples.","url":"https:\/\/www.knowband.com\/blog\/author\/stomar\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/24844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/users\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/comments?post=24844"}],"version-history":[{"count":3,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/24844\/revisions"}],"predecessor-version":[{"id":24847,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/posts\/24844\/revisions\/24847"}],"wp:attachment":[{"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/media?parent=24844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/categories?post=24844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.knowband.com\/blog\/wp-json\/wp\/v2\/tags?post=24844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}