{"id":365271,"date":"2023-01-19T06:36:20","date_gmt":"2023-01-19T06:36:20","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=365271"},"modified":"2024-03-13T13:30:38","modified_gmt":"2024-03-13T13:30:38","slug":"show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/","title":{"rendered":"Show a warning message on a Product Tab on the Product Edit Page in Magento 2"},"content":{"rendered":"\n<p>Sometimes we might have to show a warning message on a product tab on the product edit page in Magento 2.  Let&#8217;s see how we can do that.<br><br>First, create \u2018di.xml\u2019 in location Webkul\/ShowWarning\/etc\/adminhtml\/<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?xml version=&quot;1.0&quot;?&gt;\n&lt;config xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:noNamespaceSchemaLocation=&quot;urn:magento:framework:ObjectManager\/etc\/config.xsd&quot;&gt;\n    &lt;virtualType name=&quot;Magento\\Catalog\\Ui\\DataProvider\\Product\\Form\\Modifier\\Pool&quot;&gt;\n        &lt;arguments&gt;\n            &lt;argument name=&quot;modifiers&quot; xsi:type=&quot;array&quot;&gt;\n                &lt;item name=&quot;advancedCustomOptions&quot; xsi:type=&quot;array&quot;&gt;\n                    &lt;item name=&quot;class&quot; xsi:type=&quot;string&quot;&gt;Webkul\\ShowWarning\\Ui\\DataProvider\\ProductForm&lt;\/item&gt;\n                    &lt;item name=&quot;sortOrder&quot; xsi:type=&quot;number&quot;&gt;20&lt;\/item&gt;\n                &lt;\/item&gt;\n            &lt;\/argument&gt;\n        &lt;\/arguments&gt;\n    &lt;\/virtualType&gt;\n&lt;\/config&gt;<\/pre>\n\n\n\n<p>Then create \u2018CustomOptions.php\u2019 in location Webkul\/ShowWarning\/Ui\/DataProvider\/<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\nnamespace Webkul\\ShowWarning\\Ui\\DataProvider;\n \nuse Magento\\Catalog\\Ui\\DataProvider\\Product\\Form\\Modifier\\AbstractModifier;\nuse Magento\\Catalog\\Model\\Locator\\LocatorInterface;\nuse Magento\\Framework\\App\\RequestInterface;\nuse Magento\\Framework\\View\\LayoutFactory;\nuse Magento\\Ui\\Component\\Container;\n \nclass CustomOptions extends AbstractModifier\n{\n    \/**\n     * @var LocatorInterface\n     *\/\n    protected $locator;\n \n    \/**\n     * @var RequestInterface\n     *\/\n    protected $request;\n \n    \/**\n     * @var LayoutFactory\n     *\/\n    private $layoutFactory;\n \n    public function __construct(\n        LocatorInterface $locator,\n        RequestInterface $request,\n        LayoutFactory $layoutFactory\n    ) {\n        $this-&gt;locator = $locator;\n        $this-&gt;request = $request;\n        $this-&gt;layoutFactory = $layoutFactory;\n    }\n \n    public function modifyMeta(array $meta)\n    {\n       $meta&#091;&quot;custom_options&quot;] = &#091;\n          &#039;children&#039; =&gt; &#091;\n             &#039;price_drop_warning&#039; =&gt; $this-&gt;getPriceDropWarning()\n           ]\n       ];\n       return $meta;\n    }\n \n    \/**\n     * {@inheritdoc}\n     *\/\n    public function modifyData(array $data)\n    {\n        return $data;\n    }\n\n    public function getPriceDropWarning()\n    {\n        return &#091;\n            &#039;arguments&#039; =&gt; &#091;\n                &#039;data&#039; =&gt; &#091;\n                    &#039;config&#039; =&gt; &#091;\n                        &#039;componentType&#039; =&gt; &#039;container&#039;,\n                        &#039;component&#039; =&gt; &#039;Magento_Ui\/js\/form\/components\/html&#039;,\n                        &#039;additionalClasses&#039; =&gt; &#039;message message-warning&#039;,\n                        &#039;content&#039; =&gt; __(&#039;Your Warning Message&#039;),\n                    ],\n                ],\n            ]\n        ];\n    }\n}<\/pre>\n\n\n\n<p>Here we have shown the warning message on the Custom Options tab. <\/p>\n\n\n\n<p><strong>Note<\/strong> &#8211; Here the<strong> &#8216;additionalClasses&#8217; <\/strong>key is responsible for the warning template of the given content, you can also change the content template to error format, use <strong>&#8216;message message-error&#8217;<\/strong> as the value of  <strong>&#8216;additionalClasses&#8217; <\/strong>key.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Before <\/strong>showing warning<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"450\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png\" alt=\"Before showing warning\" class=\"wp-image-365280\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-300x112.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-250x94.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-768x288.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions.png 1518w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>After <\/strong>showing warning<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"397\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2-1200x397.png\" alt=\"After showing warning\" class=\"wp-image-365282\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2-1200x397.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2-300x99.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2-250x83.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2-768x254.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions2.png 1503w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes we might have to show a warning message on a product tab on the product edit page in Magento 2. Let&#8217;s see how we can do that. First, create \u2018di.xml\u2019 in location Webkul\/ShowWarning\/etc\/adminhtml\/ Then create \u2018CustomOptions.php\u2019 in location Webkul\/ShowWarning\/Ui\/DataProvider\/ Here we have shown the warning message on the Custom Options tab. Note &#8211; Here <a href=\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":473,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[13417,13416,13415,13414,13413],"class_list":["post-365271","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-customizable-options","tag-product-edit-page","tag-product-tab","tag-show-warning","tag-show-warning-message-on-product-tab"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - 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\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Sometimes we might have to show a warning message on a product tab on the product edit page in Magento 2. Let&#8217;s see how we can do that. First, create \u2018di.xml\u2019 in location Webkul\/ShowWarning\/etc\/adminhtml\/ Then create \u2018CustomOptions.php\u2019 in location Webkul\/ShowWarning\/Ui\/DataProvider\/ Here we have shown the warning message on the Custom Options tab. Note &#8211; Here [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\" \/>\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=\"2023-01-19T06:36:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-13T13:30:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png\" \/>\n<meta name=\"author\" content=\"Mohd. Faizan\" \/>\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=\"Mohd. Faizan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\"},\"author\":{\"name\":\"Mohd. Faizan\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/1c942913229700415ddc81738a8d8c80\"},\"headline\":\"Show a warning message on a Product Tab on the Product Edit Page in Magento 2\",\"datePublished\":\"2023-01-19T06:36:20+00:00\",\"dateModified\":\"2024-03-13T13:30:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\"},\"wordCount\":115,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png\",\"keywords\":[\"customizable options\",\"product edit page\",\"product tab\",\"show warning\",\"show warning message on product tab\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\",\"url\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\",\"name\":\"Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png\",\"datePublished\":\"2023-01-19T06:36:20+00:00\",\"dateModified\":\"2024-03-13T13:30:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions.png\",\"width\":1518,\"height\":569,\"caption\":\"customOptions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Show a warning message on a Product Tab on the Product Edit Page in 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\/1c942913229700415ddc81738a8d8c80\",\"name\":\"Mohd. Faizan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72aacab989e7eb0f9393bed2de5086bae41b6406e7d5c5f4b4511dcf25d7d420?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\/72aacab989e7eb0f9393bed2de5086bae41b6406e7d5c5f4b4511dcf25d7d420?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Mohd. Faizan\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/mohd-faizan900\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - 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\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/","og_locale":"en_US","og_type":"article","og_title":"Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - Webkul Blog","og_description":"Sometimes we might have to show a warning message on a product tab on the product edit page in Magento 2. Let&#8217;s see how we can do that. First, create \u2018di.xml\u2019 in location Webkul\/ShowWarning\/etc\/adminhtml\/ Then create \u2018CustomOptions.php\u2019 in location Webkul\/ShowWarning\/Ui\/DataProvider\/ Here we have shown the warning message on the Custom Options tab. Note &#8211; Here [...]","og_url":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2023-01-19T06:36:20+00:00","article_modified_time":"2024-03-13T13:30:38+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png","type":"","width":"","height":""}],"author":"Mohd. Faizan","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Mohd. Faizan","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/"},"author":{"name":"Mohd. Faizan","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/1c942913229700415ddc81738a8d8c80"},"headline":"Show a warning message on a Product Tab on the Product Edit Page in Magento 2","datePublished":"2023-01-19T06:36:20+00:00","dateModified":"2024-03-13T13:30:38+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/"},"wordCount":115,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png","keywords":["customizable options","product edit page","product tab","show warning","show warning message on product tab"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/","url":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/","name":"Show a warning message on a Product Tab on the Product Edit Page in Magento 2 - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions-1200x450.png","datePublished":"2023-01-19T06:36:20+00:00","dateModified":"2024-03-13T13:30:38+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2023\/01\/customOptions.png","width":1518,"height":569,"caption":"customOptions"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/show-a-warning-message-on-a-product-tab-on-the-product-edit-page-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Show a warning message on a Product Tab on the Product Edit Page in 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\/1c942913229700415ddc81738a8d8c80","name":"Mohd. Faizan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72aacab989e7eb0f9393bed2de5086bae41b6406e7d5c5f4b4511dcf25d7d420?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\/72aacab989e7eb0f9393bed2de5086bae41b6406e7d5c5f4b4511dcf25d7d420?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Mohd. Faizan"},"url":"https:\/\/webkul.com\/blog\/author\/mohd-faizan900\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365271","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\/473"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=365271"}],"version-history":[{"count":5,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365271\/revisions"}],"predecessor-version":[{"id":365288,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/365271\/revisions\/365288"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=365271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=365271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=365271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}