{"id":35186,"date":"2022-12-13T06:24:04","date_gmt":"2022-12-13T06:24:04","guid":{"rendered":"https:\/\/www.emizentech.com\/blog\/?p=35186"},"modified":"2023-02-13T11:16:26","modified_gmt":"2023-02-13T11:16:26","slug":"shopware-v6-4-18-0-is-released","status":"publish","type":"post","link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/shopware-v6-4-18-0-is-released.html","title":{"rendered":"Shopware v6.4.18.0 Release Note"},"content":{"rendered":"\n<pre class=\"wp-block-verse has-text-align-center has-black-color has-vivid-cyan-blue-background-color has-text-color has-background has-regular-font-size\">Shopware  v6.4.18.0 is out now! <\/pre>\n\n\n\n<p>Let&#8217;s check out what it has brought for us.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Permit_Country_Address_Modification\"><\/span><strong>Permit Country Address Modification&nbsp;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The upcoming version, <a href=\"https:\/\/www.shopware.com\/en\/changelog\/#6-4-18-0\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">v6.5.0.0<\/a>, will not keep the country addresses fixed. You can change it in <strong>Admin Settings<\/strong> by drag-drop address elements.&nbsp;<\/p>\n\n\n\n<p><strong>Go to Admin Settings &gt; Counties &gt; detail page &gt; Address tab<\/strong><\/p>\n\n\n\n<p>You can find the address elements that are stored as a structured json in&nbsp;<\/p>\n\n\n\n<p><strong>country_translation.address_format<\/strong><\/p>\n\n\n\n<p>You can find the default structure in:&nbsp;<\/p>\n\n\n\n<p><strong>\\Shopware\\Core\\System\\Country\\CountryDefinition::DEFAULT_ADDRESS_FORMAT<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Release News: Customer specific prices &amp; more in Shopware 6.4.18.0 (EN)\" width=\"770\" height=\"433\" src=\"https:\/\/www.youtube.com\/embed\/c8m2m10kVw8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Add_A_Custom_Element_With_The_Help_of_An_Extension\"><\/span><strong>Add A Custom Element With The Help of An Extension&nbsp;<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Through the placed twig files in<\/li><\/ul>\n\n\n\n<p><strong>&nbsp;&lt;pluginRoot&gt;\/src\/Resources\/views\/snippets,<\/strong><\/p>\n\n\n\n<p>plugins can define their custom snippets.&nbsp;<\/p>\n\n\n\n<p>You can refer to the default Core address snippets in&nbsp;<\/p>\n\n\n\n<p><strong>src\/Core\/Framework\/Resources\/views\/snippets\/address.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Instead, you can use the respective mutations.&nbsp;<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Deprecated_manifest-10xsd\"><\/span><strong>Deprecated manifest-1.0.xsd<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The team of Shopware experts ought to release a new XML schema for Shopware Apps with the approaching major release. In the new schema, the team will separate two deprecations from the current schema.\u00a0<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>For the element &#8220;<strong>module<\/strong>,&#8221; attribute &#8220;<strong>parent<\/strong>&#8221; will be essential.<\/li><\/ol>\n\n\n\n<p>The users need to ensure that all their admin modules hold this attribute set as described in Shopware&#8217;s <a href=\"https:\/\/developer.shopware.com\/docs\/guides\/plugins\/apps\/administration\/add-custom-modules\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">documentation<\/a>.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>For the element &#8220;<strong>action-button,\u201d <\/strong>the attribute &#8220;<strong>openNewTab<\/strong>&#8221; will be removed.&nbsp;<\/li><\/ol>\n\n\n\n<p>The users need to ensure that from their &#8220;action-button&#8221; elements, the attribute openNewTab is removed in their &#8220;manifest.xml and choose to use ActionButtonResponses instead as it&#8217;s described in Shopware&#8217;s <a href=\"https:\/\/developer.shopware.com\/docs\/guides\/plugins\/apps\/administration\/add-custom-action-button\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">documentation<\/a>.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Deprecation of \u201c<strong>manifest-1.0.xsd.\u201d<\/strong><\/li><\/ol>\n\n\n\n<p>Users should update the attribute &#8220;<strong>xsi:noNamespaceSchemaLocation<\/strong>&#8221; of their &#8220;<strong>manifest<\/strong>&#8221; root element to <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>https:&#047;&#047;raw.githubusercontent.com\/shopware\/platform\/trunk\/src\/Core\/Framework\/App\/Manifest\/Schema\/manifest-1.0.xsd<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"MessageQueue_Deprecations\"><\/span><strong>MessageQueue Deprecations<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>For v6.5.0.0, the Shopware team will remove their wrapper around the Symfony messenger component and also pull off the enqueue integration. That&#8217;s why the team has deprecated various classes for the encryption handling and retry; as for that, they will use Symfony standards.&nbsp;<\/p>\n\n\n\n<p>Also, the Shopware team deprecated the&nbsp;<\/p>\n\n\n\n<p><strong>Shopware\\Core\\Framework\\MessageQueue\\Handler\\AbstractMessageHandler.<\/strong><\/p>\n\n\n\n<p>Instead, the users need to implement the directly.&nbsp;<\/p>\n\n\n\n<p><strong>\\Symfony\\Component\\Messenger\\Handler\\MessageSubscriberInterface.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Before\"><\/span><strong>Before:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>class MyMessageHandler extends AbstractMessageHandler\n{\n    public static function getHandledMessages(): iterable\n    {\n        return &#091;MyMessage::class];\n    }\n\n    public function handle(MyMessage $message): void\n    {\n        \/\/ do something\n    }\n}\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"After\"><\/span><strong>After:<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>class MyMessageHandler implements MessageSubscriberInterface\n{\n    public static function getHandledMessages(): iterable\n    {\n        return &#091;MyMessage::class];\n    }\n\n    public function __invoke(MyMessage $message): void\n    {\n        \/\/ do something\n    }\n<\/code><\/pre>\n\n\n\n<p>As Shopware experts, EmizenTech provides top-notch <a href=\"https:\/\/multisitelocal.ezxdemo.com\/shopware-development.html\">Shopware Development services<\/a> to help you build a unique, engaging, and high-converting online store. Contact EmizenTech today to learn more and get started with Shopware.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Shopware v6.4.18.0 is out now! Let&#8217;s check out what it has brought for us.&nbsp; Permit Country Address Modification&nbsp; The upcoming version, v6.5.0.0, will not keep the country addresses fixed. You can change it in Admin Settings by drag-drop address elements.&nbsp; Go to Admin Settings &gt; Counties &gt; detail page &gt; Address tab You can find<\/p>\n","protected":false},"author":43,"featured_media":35188,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"MSN_Categories":"Uncategorized","MSN_Publish_Option":false,"MSN_Is_Local_News":false,"MSN_Is_AIAC_Included":"Empty","MSN_Location":"[]","MSN_Add_Feature_Img_On_Top_Of_Post":false,"MSN_Has_Custom_Author":false,"MSN_Custom_Author":"","MSN_Has_Custom_Canonical_Url":false,"MSN_Custom_Canonical_Url":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[85],"tags":[],"class_list":{"0":"post-35186","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-shopware"},"modified_by":"Marketing EmizenTech","featured_image_src":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/12\/Shopware-v6.4.18.0-600x400.jpg","featured_image_src_square":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/12\/Shopware-v6.4.18.0-600x408.jpg","author_info":{"display_name":"Ganesh Tharol","author_link":"https:\/\/multisitelocal.ezxdemo.com\/blog\/author\/ganesh11"},"_links":{"self":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/35186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/comments?post=35186"}],"version-history":[{"count":0,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/posts\/35186\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media\/35188"}],"wp:attachment":[{"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/media?parent=35186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/categories?post=35186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisitelocal.ezxdemo.com\/blog\/wp-json\/wp\/v2\/tags?post=35186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}