{"id":26945,"date":"2022-05-26T09:50:12","date_gmt":"2022-05-26T09:50:12","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=26945"},"modified":"2022-05-27T08:09:17","modified_gmt":"2022-05-27T08:09:17","slug":"4-77-how-to-add-image-to-customer-entity-type","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/4-77-how-to-add-image-to-customer-entity-type\/","title":{"rendered":"4.77. How to Add Image to Customer Entity Type?"},"content":{"rendered":"\n<p>In this document it will be explained how to add a picture to your Customer Search Screen.<\/p>\n<p>After you finish this document you will see your Customer Search Screen as below;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26965 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u00a0<\/p>\n<h3><strong>1. Adding Custom Field to Customers Entity Type<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entity Types &gt; Select Customers Entity Type &gt; Custom Fields;<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26967 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/1-Entity-Type-Custom-Fields.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>Go to<strong> Custom Fields<\/strong> section and select <strong>Hidden box.<\/strong><\/p>\n<p>After completing necessary editings, click on<strong> Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><strong>2. Editing Related Entity<\/strong><\/h3>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entities &gt; Select Related Entity &gt; General Settings Section &gt;\u00a0<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26970 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/2-Customer-Picture-Path.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>In this section fill the blanks with customer information;<\/p>\n<p><strong>Name:<\/strong> Write customer\u2019s name.<\/p>\n<p><strong>Phone:<\/strong> Write the number of customer.<\/p>\n<p><strong>Address:<\/strong> Write the address of customer.<\/p>\n<p><strong>Picture:\u00a0<\/strong> In here you can copy the picture\u2019s link and paste. Or if you have the picture in your computer you can write the location of the picture.<\/p>\n<p><strong>Ex:<\/strong> https:\/\/startup.capital.com.tr\/wp-content\/uploads\/2014\/07\/mehmet-akyildiz.jpg<\/p>\n<p><strong>Ex:<\/strong> Click right side of your Mouse on the Picture and click \u201cProperties\u201d and you will see the location of the picture. (C:\\Users\\Hp\\Desktop)<\/p>\n<p>After completing necessary editings, click on<strong> Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<h3><strong>3. Editing Customer Search Entity Screen<\/strong><\/h3>\n<p><strong>Appearence Section Settings;<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entity Screens&gt; Select Customer Search Entity Screen &gt; Appearence Section &gt; <\/strong>In here, click on <strong>Use State Display Format box <\/strong>and then click on <strong>Save<\/strong> button.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26972 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/3-Use-State-Display-Format.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><strong>Details Section Settings;<\/strong><\/p>\n<p><strong>Main Menu &gt; Manage &gt; Entities &gt; Entity Screens&gt; Select Customer Search Entity Screen &gt; Details Section &gt;\u00a0<\/strong>In here, copy below code group and paste into Template field;<\/p>\n<p>\u00a0<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 100%;\">&lt;block 20&gt;&lt;img&gt;{ENTITY DATA:Picture}&lt;\/img&gt;&lt;\/block&gt;<br \/>&lt;block 5 transparent left 300&gt;<br \/>&lt;size 30&gt;{ENTITY NAME}&lt;\/size&gt;&lt;br\/&gt;<br \/>{ENTITY DATA:Phone}&lt;br\/&gt;<br \/>{ENTITY BALANCE}<br \/>&lt;\/block&gt;<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26974 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/4-Customer-Search-Details.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>After completing necessary editings, click on<strong> Save<\/strong> button.<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>Once you complete the above steps, your Customer Search Screen should be looking as in the below image;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-26976 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1-1024x576.png\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1-1024x576.png 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1-300x169.png 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1-768x432.png 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1-1536x864.png 1536w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2022\/05\/5-Completed-1.png 1920w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this document it will be explained how to add a picture to your Customer Search Screen. After you finish this document you will see your Customer Search Screen as below; \u00a0 1. Adding Custom Field to Customers Entity Type Main Menu &gt; Manage &gt; Entities &gt; Entity Types &gt; Select Customers Entity Type &gt; [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-26945","post","type-post","status-publish","format-standard","hentry","category-customization"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/26945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=26945"}],"version-history":[{"count":7,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/26945\/revisions"}],"predecessor-version":[{"id":26978,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/26945\/revisions\/26978"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=26945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=26945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=26945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}