{"id":61875,"date":"2016-10-18T14:33:45","date_gmt":"2016-10-18T14:33:45","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=61875"},"modified":"2025-02-24T12:54:56","modified_gmt":"2025-02-24T12:54:56","slug":"magento2-custom-order-prefix","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/","title":{"rendered":"Custom Order Prefix for Magento 2"},"content":{"rendered":"\n<p><a href=\"https:\/\/store.webkul.com\/magento2-custom-order-prefix.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento2 custom order prefix<\/a> module is the single best module and super useful when the admin wants to add the prefixes to an Order ID, Invoice ID, Shipment ID, and Credit Memo ID from their end.<\/p>\n\n\n\n<p>The admin can set the prefix in any form as it supports numeric, alphanumeric, and alphabetic prefixes.<\/p>\n\n\n\n<p>Check the plugin at work at the storefront and the initial configuration settings in the admin backend panel for the Magento 2 custom order prefix plugin &#8211;  <\/p>\n\n\n\n<div class=\"wp-block-wk-block-youtube-video wp-block-wk-block--yt-video components-placeholder wk-block--yt-video\"><div class=\"wk-block--yt-video-frame\"><div class=\"wk-block--yt-video-frame-request\" data-plyr-provider=\"youtube\" data-plyr-embed-id=\"ZVmaBACiExk\"><div class=\"components-placeholder__instructions\">ZVmaBACiExk<\/div><\/div><\/div><\/div>\n\n\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<h3 class=\"panel-title\">Features<\/h3>\n<\/div>\n<div class=\"panel-body\">\n<ul>\n<li>The admin can add the custom prefix for the order IDs.<\/li>\n<li>The prefix of the shipment IDs can set by the admin.<\/li>\n<li>A prefix for invoice IDs can also set by the admin end.<\/li>\n<li>The admin can add the custom prefix for the credit memo IDs.<\/li>\n<li>The custom prefix can set in the form of numeric, alphabetic, or alphanumeric.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Installation<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<p>The admin will get a <strong>zip folder, <\/strong>and they have to extract the contents of this zip folder on their system.<\/p>\n<p>The extracted folder has an\u00a0<strong>src<\/strong> folder, inside the src folder the admin will find the <strong>app\u00a0<\/strong>folder.<\/p>\n<p>The admin needs to transfer this <strong>app<\/strong> folder into the Magento2 root directory on the server as per the below image:<\/p>\n<p><a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1.png\"><img decoding=\"async\" class=\"aligncenter wp-image-210020\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1.png\" alt=\"Custom Order Prefix for Magento 2\" width=\"800\" height=\"253\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1.png 1302w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1-300x95.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1-1200x379.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1-250x79.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/1-9-1-768x242.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/p>\n<p>After the successful installation, the admin has to run the following commands on Magento2 root directory:<\/p>\n<p><strong>First command &#8211;<\/strong><\/p>\n<pre>php bin\/magento setup:upgrade<\/pre>\n<p><strong>Second Command &#8211;<\/strong><\/p>\n<pre class=\"\">php bin\/magento setup:di:compile<\/pre>\n<p><strong>Third Command &#8211;<\/strong><\/p>\n<pre>php bin\/magento setup:static-content:deploy<\/pre>\n<p>After running the commands, the admin has to flush the cache from Magento admin panel by navigating through, <strong>System-&gt;Cache management<\/strong> as shown below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184895\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png\" alt=\"flush_cache\" width=\"800\" height=\"352\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png 1247w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05130116\/5-5.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Multi-Lingual Configuration<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>For Multilingual support, the admin needs to navigate through <strong>Store &gt; Configuration &gt; General &gt; Locale Options<\/strong> and select the desired language from the <strong>Locale\u00a0<\/strong>option.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184857\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05122722\/change-language-magento-2-locale.png\" alt=\"change-language-magento-2-locale\" width=\"800\" height=\"400\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05122722\/change-language-magento-2-locale.png 1194w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05122722\/change-language-magento-2-locale.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05122722\/change-language-magento-2-locale.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05122722\/change-language-magento-2-locale.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel panel-primary\">\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Language Translation<\/h3>\n<\/div>\n<\/div>\n<div class=\"panel-body\">\n<div>\n<p>For translating the module language, navigate through <strong>src\/<\/strong><strong>app\/code\/Webkul\/CustomOrderPrefix\/i18n <\/strong>and edit the <strong>en_US.csv<\/strong> file.<\/p>\n<p>Thereafter, rename the CSV as \u201cen_SA.csv\u201d and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.<\/p>\n<p>Then upload it to the path <strong>src\/<\/strong><strong>app\/code\/Webkul\/CustomOrderPrefix\/i18n <\/strong>where the Magento2 is installed on the server.<\/p>\n<p>The module gets translated into the Arabic Language. It supports both <strong>RTL\u00a0<\/strong>and\u00a0<strong>LTR\u00a0<\/strong>languages.<a href=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2.png\"><img decoding=\"async\" class=\"aligncenter wp-image-170891\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2.png\" alt=\"webkul-magento2-paytabs-sadad-payment-multilingual\" width=\"800\" height=\"314\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2.png 1229w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2-250x98.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2-300x118.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2-768x301.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/04\/webkul-magento2-paytabs-sadad-payment-multilingual-2-1200x471.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"panel-heading\">\n<div>\n<h3 class=\"panel-title\">Admin-End Configuration<\/h3>\n<\/div>\n<\/div>\n<p>After the successful installation of the module, the admin will configure the module by navigating through <strong>Stores -&gt; Configuration -&gt; Webkul -&gt; Add Prefix <\/strong>as per the below image:<img decoding=\"async\" class=\"alignnone size-full wp-image-430912\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration.webp\" alt=\"intial-configuration\" width=\"1120\" height=\"880\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/p>\n<p>You can also access the initial configuration by navigating Custom Order Prefix-&gt;Configuration Settings.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-430914\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-setting.webp\" alt=\"intial-configuration-setting\" width=\"1120\" height=\"880\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-setting.webp 1120w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-setting-300x236.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-setting-250x196.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/intial-configuration-setting-768x603.webp 768w\" sizes=\"(max-width: 1120px) 100vw, 1120px\" loading=\"lazy\" \/><\/p>\n<p>The admin can configure the <strong>Add Prefix<\/strong> settings as under:\u00a0<\/p>\n<p><strong>Order Id Prefix-<\/strong> The admin can set the prefix for order Ids from the back-end.<\/p>\n<p><strong>Invoice Id Prefix- <\/strong>Here the admin can enter the prefix for Invoice Ids.<\/p>\n<p><strong>Shipment Prefix- <\/strong>The prefix for shipment Ids can be set here by the admin from the back-end.<\/p>\n<p><strong>Credit Memo Id Prefix-\u00a0<\/strong>The admin can enter the prefix for credit memo Ids.<\/p>\n<p><strong>**Note:<\/strong><\/p>\n<ul>\n<li>In case the admin doesn&#8217;t want to set any prefix, then admin can set the value of that field as null (Blank).<\/li>\n<\/ul>\n<p>The admin sets the prefix of all the Ids as shown in the image below.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-284632 size-full\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/congi-2.png\" alt=\"congi-2\" width=\"879\" height=\"698\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/congi-2.png 879w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/congi-2-300x238.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/congi-2-250x199.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/congi-2-768x610.png 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" loading=\"lazy\" \/><\/p>\n<ul>\n<li class=\"panel panel-primary\"><b>Now, <\/b>the admin can see the set prefix of the order Ids on under the <strong>Order Section<\/strong>. For the reference see the below image.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184774\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05100248\/webkul-magento2-Custom-order-3.png\" alt=\"webkul-magento2-Custom-order\" width=\"800\" height=\"453\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05100248\/webkul-magento2-Custom-order-3.png 1195w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05100248\/webkul-magento2-Custom-order-3.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05100248\/webkul-magento2-Custom-order-3.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05100248\/webkul-magento2-Custom-order-3.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p>The Order Id will be visible to the customer as well, under <strong>&#8220;My orders&#8221;<\/strong> in the account section, as per the below image:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184865\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png\" alt=\"webkul-magento2-Custom-order\" width=\"800\" height=\"166\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png 1259w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05123611\/webkul-magento2-Custom-order-4.png 1200w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<ul>\n<li><b>In the Invoice section,<\/b> the admin can see the invoice Ids added with the prefix.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184784\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05101832\/webkul-magento2-Custom-order-invoice-4.png\" alt=\"webkul-magento2-Custom-invoice\" width=\"800\" height=\"266\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05101832\/webkul-magento2-Custom-order-invoice-4.png 1175w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05101832\/webkul-magento2-Custom-order-invoice-4.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05101832\/webkul-magento2-Custom-order-invoice-4.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05101832\/webkul-magento2-Custom-order-invoice-4.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p>The Invoice Id will also be visible in the invoice section of the order in the customer&#8217;s account as well, as shown in the below image.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184872\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124155\/webkul-magento2-Custom-invoice-6.png\" alt=\"webkul-magento2-Custom-invoice\" width=\"800\" height=\"448\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124155\/webkul-magento2-Custom-invoice-6.png 981w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124155\/webkul-magento2-Custom-invoice-6.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124155\/webkul-magento2-Custom-invoice-6.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124155\/webkul-magento2-Custom-invoice-6.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<ul>\n<li>The prefix set for the <strong>Shipment IDs<\/strong> by the admin can be visible in the Shipment section in the admin panel.<\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184787\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102623\/webkul-magento2-Custom-order-shipment-4.png\" alt=\"webkul-magento2-Custom-shipment\" width=\"800\" height=\"231\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102623\/webkul-magento2-Custom-order-shipment-4.png 1181w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102623\/webkul-magento2-Custom-order-shipment-4.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102623\/webkul-magento2-Custom-order-shipment-4.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102623\/webkul-magento2-Custom-order-shipment-4.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p>Now, the same shipment Id will be visible on the customer end as well as per the below image:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184879\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124546\/webkul-magento2-Custom-shipment-7.png\" alt=\"webkul-magento2-Custom-shipment\" width=\"800\" height=\"353\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124546\/webkul-magento2-Custom-shipment-7.png 991w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124546\/webkul-magento2-Custom-shipment-7.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124546\/webkul-magento2-Custom-shipment-7.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124546\/webkul-magento2-Custom-shipment-7.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<ul>\n<li><b>At the Credit memo Page,<\/b> the admin can see the set prefix for the credit memo IDs<b>\u00a0&#8211;<\/b><\/li>\n<\/ul>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-184790\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102818\/webkul-magento2-Custom-order-credit-memos-5.png\" alt=\"webkul-magento2-Custom-credit-memo\" width=\"800\" height=\"232\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102818\/webkul-magento2-Custom-order-credit-memos-5.png 1185w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102818\/webkul-magento2-Custom-order-credit-memos-5.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102818\/webkul-magento2-Custom-order-credit-memos-5.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05102818\/webkul-magento2-Custom-order-credit-memos-5.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p>The same credit memo Id will be visible to the customers as well under <strong>Refunds section<\/strong> in the order details.<\/p>\n<p>As per the below image:<img decoding=\"async\" class=\"aligncenter wp-image-184884\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124907\/webkul-magento2-Custom-credit-memo-8.png\" alt=\"webkul-magento2-Custom-credit-memo\" width=\"800\" height=\"457\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124907\/webkul-magento2-Custom-credit-memo-8.png 989w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124907\/webkul-magento2-Custom-credit-memo-8.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124907\/webkul-magento2-Custom-credit-memo-8.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2019\/07\/05124907\/webkul-magento2-Custom-credit-memo-8.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" loading=\"lazy\" \/><\/p>\n<p>That\u2019s all for the <strong>Custom Order Prefix for Magento 2,<\/strong> still, have any issue feel free to add a ticket and let us know your views to make the module better at <a href=\"http:\/\/webkul.uvdesk.com\">webkul.uvdesk.com<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>Magento2 custom order prefix module is the single best module and super useful when the admin wants to add the prefixes to an Order ID, Invoice ID, Shipment ID, and Credit Memo ID from their end. The admin can set the prefix in any form as it supports numeric, alphanumeric, and alphabetic prefixes. Check the <a href=\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":79,"featured_media":62257,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302],"tags":[3781],"class_list":["post-61875","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-magento2","tag-magento2-custom-order-prefix"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo<\/title>\n<meta name=\"description\" content=\"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.\" \/>\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\/magento2-custom-order-prefix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo\" \/>\n<meta property=\"og:description\" content=\"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\" \/>\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=\"2016-10-18T14:33:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-24T12:54:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Nishad Bhan\" \/>\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=\"Nishad Bhan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\"},\"author\":{\"name\":\"Nishad Bhan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/d5f376b54be75483744f8320d172d9e0\"},\"headline\":\"Custom Order Prefix for Magento 2\",\"datePublished\":\"2016-10-18T14:33:45+00:00\",\"dateModified\":\"2025-02-24T12:54:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\"},\"wordCount\":732,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png\",\"keywords\":[\"Magento2 Custom Order Prefix\"],\"articleSection\":[\"Magento2\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\",\"url\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\",\"name\":\"Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png\",\"datePublished\":\"2016-10-18T14:33:45+00:00\",\"dateModified\":\"2025-02-24T12:54:56+00:00\",\"description\":\"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Custom Order Prefix for Magento 2\"}]},{\"@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\/d5f376b54be75483744f8320d172d9e0\",\"name\":\"Nishad Bhan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7a708390ff9ca00da55b3ed0b076fe4f3624005bce5b5d88e6b3d99d15c13ec2?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\/7a708390ff9ca00da55b3ed0b076fe4f3624005bce5b5d88e6b3d99d15c13ec2?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Nishad Bhan\"},\"description\":\"Nishad Bhan excels in analyzing eCommerce processes on the Magento platform, optimizing workflows, and delivering strategic solutions. Expertise ensures seamless platform integration, driving digital innovation and aligning technology with business objectives for growth.\",\"url\":\"https:\/\/webkul.com\/blog\/author\/nishad-bhan981\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo","description":"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.","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\/magento2-custom-order-prefix\/","og_locale":"en_US","og_type":"article","og_title":"Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo","og_description":"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.","og_url":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-10-18T14:33:45+00:00","article_modified_time":"2025-02-24T12:54:56+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png","type":"image\/png"}],"author":"Nishad Bhan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Nishad Bhan","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/"},"author":{"name":"Nishad Bhan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/d5f376b54be75483744f8320d172d9e0"},"headline":"Custom Order Prefix for Magento 2","datePublished":"2016-10-18T14:33:45+00:00","dateModified":"2025-02-24T12:54:56+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/"},"wordCount":732,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png","keywords":["Magento2 Custom Order Prefix"],"articleSection":["Magento2"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/","url":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/","name":"Magento 2 Order Prefix | Custom Invoice ID Shipment Credit Memo","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png","datePublished":"2016-10-18T14:33:45+00:00","dateModified":"2025-02-24T12:54:56+00:00","description":"Magneto 2 custom order prefix module gives access to the admin to customize the order, shipment, invoice Ids by adding a prefix to it.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/10\/Custom-Order-Prefix.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/magento2-custom-order-prefix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Custom Order Prefix for Magento 2"}]},{"@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\/d5f376b54be75483744f8320d172d9e0","name":"Nishad Bhan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7a708390ff9ca00da55b3ed0b076fe4f3624005bce5b5d88e6b3d99d15c13ec2?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\/7a708390ff9ca00da55b3ed0b076fe4f3624005bce5b5d88e6b3d99d15c13ec2?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Nishad Bhan"},"description":"Nishad Bhan excels in analyzing eCommerce processes on the Magento platform, optimizing workflows, and delivering strategic solutions. Expertise ensures seamless platform integration, driving digital innovation and aligning technology with business objectives for growth.","url":"https:\/\/webkul.com\/blog\/author\/nishad-bhan981\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61875","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\/79"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=61875"}],"version-history":[{"count":55,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61875\/revisions"}],"predecessor-version":[{"id":483908,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/61875\/revisions\/483908"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/62257"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=61875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=61875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=61875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}