How to override view.xml file in custom module





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have change magnifier vars in view.xml file under luma theme. Its working fine .



I have change it in my custom module like this ...



app/code/XXX/YYY/etc/view.xml.



<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">

<var name="magnifier">
<var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
<var name="top"></var> <!-- Top position of magnifier -->
<var name="left"></var> <!-- Left position of magnifier -->
<var name="width">400</var> <!-- Width of magnifier block -->
<var name="height">400</var> <!-- Height of magnifier block -->
<var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
<var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
<var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
</var>




Its not working .



And also
In theme.xml



<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>theme name</title>
<parent>Magento/blank





registration.php:



<?php
MagentoFrameworkComponentComponentRegistrar::register(
MagentoFrameworkComponentComponentRegistrar::THEME,
'frontend/OX/yyy',
__DIR__
);


/app/design/frontend/XXX/yyy/etc/view.xml



<view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
<var name="magnifier">
<var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
<var name="top"></var> <!-- Top position of magnifier -->
<var name="left"></var> <!-- Left position of magnifier -->
<var name="width">400</var> <!-- Width of magnifier block -->
<var name="height">400</var> <!-- Height of magnifier block -->
<var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
<var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
<var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
</var>
</view>


its also not working.



If anything i want to change it.



Thanks.



enter image description here










share|improve this question































    1















    I have change magnifier vars in view.xml file under luma theme. Its working fine .



    I have change it in my custom module like this ...



    app/code/XXX/YYY/etc/view.xml.



    <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">

    <var name="magnifier">
    <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
    <var name="top"></var> <!-- Top position of magnifier -->
    <var name="left"></var> <!-- Left position of magnifier -->
    <var name="width">400</var> <!-- Width of magnifier block -->
    <var name="height">400</var> <!-- Height of magnifier block -->
    <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
    <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
    <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
    </var>




    Its not working .



    And also
    In theme.xml



    <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
    <title>theme name</title>
    <parent>Magento/blank





    registration.php:



    <?php
    MagentoFrameworkComponentComponentRegistrar::register(
    MagentoFrameworkComponentComponentRegistrar::THEME,
    'frontend/OX/yyy',
    __DIR__
    );


    /app/design/frontend/XXX/yyy/etc/view.xml



    <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
    <var name="magnifier">
    <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
    <var name="top"></var> <!-- Top position of magnifier -->
    <var name="left"></var> <!-- Left position of magnifier -->
    <var name="width">400</var> <!-- Width of magnifier block -->
    <var name="height">400</var> <!-- Height of magnifier block -->
    <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
    <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
    <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
    </var>
    </view>


    its also not working.



    If anything i want to change it.



    Thanks.



    enter image description here










    share|improve this question



























      1












      1








      1


      1






      I have change magnifier vars in view.xml file under luma theme. Its working fine .



      I have change it in my custom module like this ...



      app/code/XXX/YYY/etc/view.xml.



      <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">

      <var name="magnifier">
      <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
      <var name="top"></var> <!-- Top position of magnifier -->
      <var name="left"></var> <!-- Left position of magnifier -->
      <var name="width">400</var> <!-- Width of magnifier block -->
      <var name="height">400</var> <!-- Height of magnifier block -->
      <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
      <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
      <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
      </var>




      Its not working .



      And also
      In theme.xml



      <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
      <title>theme name</title>
      <parent>Magento/blank





      registration.php:



      <?php
      MagentoFrameworkComponentComponentRegistrar::register(
      MagentoFrameworkComponentComponentRegistrar::THEME,
      'frontend/OX/yyy',
      __DIR__
      );


      /app/design/frontend/XXX/yyy/etc/view.xml



      <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
      <var name="magnifier">
      <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
      <var name="top"></var> <!-- Top position of magnifier -->
      <var name="left"></var> <!-- Left position of magnifier -->
      <var name="width">400</var> <!-- Width of magnifier block -->
      <var name="height">400</var> <!-- Height of magnifier block -->
      <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
      <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
      <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
      </var>
      </view>


      its also not working.



      If anything i want to change it.



      Thanks.



      enter image description here










      share|improve this question
















      I have change magnifier vars in view.xml file under luma theme. Its working fine .



      I have change it in my custom module like this ...



      app/code/XXX/YYY/etc/view.xml.



      <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">

      <var name="magnifier">
      <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
      <var name="top"></var> <!-- Top position of magnifier -->
      <var name="left"></var> <!-- Left position of magnifier -->
      <var name="width">400</var> <!-- Width of magnifier block -->
      <var name="height">400</var> <!-- Height of magnifier block -->
      <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
      <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
      <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
      </var>




      Its not working .



      And also
      In theme.xml



      <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
      <title>theme name</title>
      <parent>Magento/blank





      registration.php:



      <?php
      MagentoFrameworkComponentComponentRegistrar::register(
      MagentoFrameworkComponentComponentRegistrar::THEME,
      'frontend/OX/yyy',
      __DIR__
      );


      /app/design/frontend/XXX/yyy/etc/view.xml



      <view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/view.xsd">
      <var name="magnifier">
      <var name="fullscreenzoom">20</var> <!-- Zoom for fullscreen (integer)-->
      <var name="top"></var> <!-- Top position of magnifier -->
      <var name="left"></var> <!-- Left position of magnifier -->
      <var name="width">400</var> <!-- Width of magnifier block -->
      <var name="height">400</var> <!-- Height of magnifier block -->
      <var name="eventType">hover</var> <!-- Action that atcivates zoom (hover/click) -->
      <var name="enabled">true</var> <!-- Turn on/off magnifier (true/false) -->
      <var name="mode">outside</var> <!-- Zoom type (outside/inside) -->
      </var>
      </view>


      its also not working.



      If anything i want to change it.



      Thanks.



      enter image description here







      magento2.3 php-7.2.14






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 4 at 9:26







      Mano M

















      asked Mar 4 at 7:27









      Mano MMano M

      1,028219




      1,028219






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Try this,



          To create a theme and override a view.xml




          app/design/frontend/{Vendor}/{theme-name}/registration.php




          <?php                
          MagentoFrameworkComponentComponentRegistrar::register(
          MagentoFrameworkComponentComponentRegistrar::THEME,
          'frontend/{Vendor}/{theme-name}',
          __DIR__);


          then create theme.xml




          app/design/frontend/{Vendor}/{theme-name}/theme.xml




          <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
          <title>Theme Title</title>
          <parent>Magento/blank</parent></theme>


          Check whether the theme is installed by the following query via mysql



          select * from theme;


          then add




          app/design/frontend/{Vendor}/{theme-name}/etc/view.xml




          and add composer.json in




          app/design/frontend/{vendor}/{theme-name}/composer.json




          then add the below code in it



          {
          "name": "{vendor}/{theme-name}",
          "description": "N/A",
          "require": {
          "php": "~5.5.0|~5.6.0|~7.0.0",
          "magento/theme-frontend-blank": "100.0.*",
          "magento/framework": "100.0.*"
          },
          "type": "magento2-theme",
          "version": "100.0.1",
          "license": [
          "OSL-3.0",
          "AFL-3.0"
          ],
          "autoload": {
          "files": [
          "registration.php"
          ]
          }}


          You must configure your theme to see the changes on frontend.



          To configure new theme for your store, just follow the below steps :




          Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.




          NOTE : After creating theme setup:upgrade and once after configured theme cache:flush.



          Hope this helps :)






          share|improve this answer


























          • I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:21











          • Bcoz, the design configuration grid was empty.

            – Mano M
            Mar 4 at 9:22











          • Is it working or not?

            – Prathap Gunasekaran
            Mar 4 at 9:23











          • theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:24











          • @prathap.updated on my post

            – Mano M
            Mar 4 at 9:26





















          2














          according documentation custom theme files must be under following path:



          /app/design/frontend/<Vendor>/<Theme>



          So your view.xml should be there:



          /app/design/frontend/<Vendor>/<Theme>/etc






          share|improve this answer
























          • updated my post

            – Mano M
            Mar 4 at 8:38











          • did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

            – Kirill Korushkin
            Mar 4 at 10:29












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f264247%2fhow-to-override-view-xml-file-in-custom-module%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Try this,



          To create a theme and override a view.xml




          app/design/frontend/{Vendor}/{theme-name}/registration.php




          <?php                
          MagentoFrameworkComponentComponentRegistrar::register(
          MagentoFrameworkComponentComponentRegistrar::THEME,
          'frontend/{Vendor}/{theme-name}',
          __DIR__);


          then create theme.xml




          app/design/frontend/{Vendor}/{theme-name}/theme.xml




          <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
          <title>Theme Title</title>
          <parent>Magento/blank</parent></theme>


          Check whether the theme is installed by the following query via mysql



          select * from theme;


          then add




          app/design/frontend/{Vendor}/{theme-name}/etc/view.xml




          and add composer.json in




          app/design/frontend/{vendor}/{theme-name}/composer.json




          then add the below code in it



          {
          "name": "{vendor}/{theme-name}",
          "description": "N/A",
          "require": {
          "php": "~5.5.0|~5.6.0|~7.0.0",
          "magento/theme-frontend-blank": "100.0.*",
          "magento/framework": "100.0.*"
          },
          "type": "magento2-theme",
          "version": "100.0.1",
          "license": [
          "OSL-3.0",
          "AFL-3.0"
          ],
          "autoload": {
          "files": [
          "registration.php"
          ]
          }}


          You must configure your theme to see the changes on frontend.



          To configure new theme for your store, just follow the below steps :




          Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.




          NOTE : After creating theme setup:upgrade and once after configured theme cache:flush.



          Hope this helps :)






          share|improve this answer


























          • I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:21











          • Bcoz, the design configuration grid was empty.

            – Mano M
            Mar 4 at 9:22











          • Is it working or not?

            – Prathap Gunasekaran
            Mar 4 at 9:23











          • theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:24











          • @prathap.updated on my post

            – Mano M
            Mar 4 at 9:26


















          1














          Try this,



          To create a theme and override a view.xml




          app/design/frontend/{Vendor}/{theme-name}/registration.php




          <?php                
          MagentoFrameworkComponentComponentRegistrar::register(
          MagentoFrameworkComponentComponentRegistrar::THEME,
          'frontend/{Vendor}/{theme-name}',
          __DIR__);


          then create theme.xml




          app/design/frontend/{Vendor}/{theme-name}/theme.xml




          <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
          <title>Theme Title</title>
          <parent>Magento/blank</parent></theme>


          Check whether the theme is installed by the following query via mysql



          select * from theme;


          then add




          app/design/frontend/{Vendor}/{theme-name}/etc/view.xml




          and add composer.json in




          app/design/frontend/{vendor}/{theme-name}/composer.json




          then add the below code in it



          {
          "name": "{vendor}/{theme-name}",
          "description": "N/A",
          "require": {
          "php": "~5.5.0|~5.6.0|~7.0.0",
          "magento/theme-frontend-blank": "100.0.*",
          "magento/framework": "100.0.*"
          },
          "type": "magento2-theme",
          "version": "100.0.1",
          "license": [
          "OSL-3.0",
          "AFL-3.0"
          ],
          "autoload": {
          "files": [
          "registration.php"
          ]
          }}


          You must configure your theme to see the changes on frontend.



          To configure new theme for your store, just follow the below steps :




          Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.




          NOTE : After creating theme setup:upgrade and once after configured theme cache:flush.



          Hope this helps :)






          share|improve this answer


























          • I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:21











          • Bcoz, the design configuration grid was empty.

            – Mano M
            Mar 4 at 9:22











          • Is it working or not?

            – Prathap Gunasekaran
            Mar 4 at 9:23











          • theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:24











          • @prathap.updated on my post

            – Mano M
            Mar 4 at 9:26
















          1












          1








          1







          Try this,



          To create a theme and override a view.xml




          app/design/frontend/{Vendor}/{theme-name}/registration.php




          <?php                
          MagentoFrameworkComponentComponentRegistrar::register(
          MagentoFrameworkComponentComponentRegistrar::THEME,
          'frontend/{Vendor}/{theme-name}',
          __DIR__);


          then create theme.xml




          app/design/frontend/{Vendor}/{theme-name}/theme.xml




          <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
          <title>Theme Title</title>
          <parent>Magento/blank</parent></theme>


          Check whether the theme is installed by the following query via mysql



          select * from theme;


          then add




          app/design/frontend/{Vendor}/{theme-name}/etc/view.xml




          and add composer.json in




          app/design/frontend/{vendor}/{theme-name}/composer.json




          then add the below code in it



          {
          "name": "{vendor}/{theme-name}",
          "description": "N/A",
          "require": {
          "php": "~5.5.0|~5.6.0|~7.0.0",
          "magento/theme-frontend-blank": "100.0.*",
          "magento/framework": "100.0.*"
          },
          "type": "magento2-theme",
          "version": "100.0.1",
          "license": [
          "OSL-3.0",
          "AFL-3.0"
          ],
          "autoload": {
          "files": [
          "registration.php"
          ]
          }}


          You must configure your theme to see the changes on frontend.



          To configure new theme for your store, just follow the below steps :




          Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.




          NOTE : After creating theme setup:upgrade and once after configured theme cache:flush.



          Hope this helps :)






          share|improve this answer















          Try this,



          To create a theme and override a view.xml




          app/design/frontend/{Vendor}/{theme-name}/registration.php




          <?php                
          MagentoFrameworkComponentComponentRegistrar::register(
          MagentoFrameworkComponentComponentRegistrar::THEME,
          'frontend/{Vendor}/{theme-name}',
          __DIR__);


          then create theme.xml




          app/design/frontend/{Vendor}/{theme-name}/theme.xml




          <theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
          <title>Theme Title</title>
          <parent>Magento/blank</parent></theme>


          Check whether the theme is installed by the following query via mysql



          select * from theme;


          then add




          app/design/frontend/{Vendor}/{theme-name}/etc/view.xml




          and add composer.json in




          app/design/frontend/{vendor}/{theme-name}/composer.json




          then add the below code in it



          {
          "name": "{vendor}/{theme-name}",
          "description": "N/A",
          "require": {
          "php": "~5.5.0|~5.6.0|~7.0.0",
          "magento/theme-frontend-blank": "100.0.*",
          "magento/framework": "100.0.*"
          },
          "type": "magento2-theme",
          "version": "100.0.1",
          "license": [
          "OSL-3.0",
          "AFL-3.0"
          ],
          "autoload": {
          "files": [
          "registration.php"
          ]
          }}


          You must configure your theme to see the changes on frontend.



          To configure new theme for your store, just follow the below steps :




          Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.




          NOTE : After creating theme setup:upgrade and once after configured theme cache:flush.



          Hope this helps :)







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 11 at 10:11

























          answered Mar 4 at 8:59









          Prathap GunasekaranPrathap Gunasekaran

          1,7261618




          1,7261618













          • I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:21











          • Bcoz, the design configuration grid was empty.

            – Mano M
            Mar 4 at 9:22











          • Is it working or not?

            – Prathap Gunasekaran
            Mar 4 at 9:23











          • theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:24











          • @prathap.updated on my post

            – Mano M
            Mar 4 at 9:26





















          • I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:21











          • Bcoz, the design configuration grid was empty.

            – Mano M
            Mar 4 at 9:22











          • Is it working or not?

            – Prathap Gunasekaran
            Mar 4 at 9:23











          • theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

            – Mano M
            Mar 4 at 9:24











          • @prathap.updated on my post

            – Mano M
            Mar 4 at 9:26



















          I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

          – Mano M
          Mar 4 at 9:21





          I have done all step as you mentioned above ..except Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

          – Mano M
          Mar 4 at 9:21













          Bcoz, the design configuration grid was empty.

          – Mano M
          Mar 4 at 9:22





          Bcoz, the design configuration grid was empty.

          – Mano M
          Mar 4 at 9:22













          Is it working or not?

          – Prathap Gunasekaran
          Mar 4 at 9:23





          Is it working or not?

          – Prathap Gunasekaran
          Mar 4 at 9:23













          theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

          – Mano M
          Mar 4 at 9:24





          theme was created in table ...i can't config store ..Go to-> content-> configuration-> select your store-> then change the new theme by clicking drop down and save configuration.

          – Mano M
          Mar 4 at 9:24













          @prathap.updated on my post

          – Mano M
          Mar 4 at 9:26







          @prathap.updated on my post

          – Mano M
          Mar 4 at 9:26















          2














          according documentation custom theme files must be under following path:



          /app/design/frontend/<Vendor>/<Theme>



          So your view.xml should be there:



          /app/design/frontend/<Vendor>/<Theme>/etc






          share|improve this answer
























          • updated my post

            – Mano M
            Mar 4 at 8:38











          • did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

            – Kirill Korushkin
            Mar 4 at 10:29
















          2














          according documentation custom theme files must be under following path:



          /app/design/frontend/<Vendor>/<Theme>



          So your view.xml should be there:



          /app/design/frontend/<Vendor>/<Theme>/etc






          share|improve this answer
























          • updated my post

            – Mano M
            Mar 4 at 8:38











          • did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

            – Kirill Korushkin
            Mar 4 at 10:29














          2












          2








          2







          according documentation custom theme files must be under following path:



          /app/design/frontend/<Vendor>/<Theme>



          So your view.xml should be there:



          /app/design/frontend/<Vendor>/<Theme>/etc






          share|improve this answer













          according documentation custom theme files must be under following path:



          /app/design/frontend/<Vendor>/<Theme>



          So your view.xml should be there:



          /app/design/frontend/<Vendor>/<Theme>/etc







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 4 at 8:15









          Kirill KorushkinKirill Korushkin

          1437




          1437













          • updated my post

            – Mano M
            Mar 4 at 8:38











          • did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

            – Kirill Korushkin
            Mar 4 at 10:29



















          • updated my post

            – Mano M
            Mar 4 at 8:38











          • did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

            – Kirill Korushkin
            Mar 4 at 10:29

















          updated my post

          – Mano M
          Mar 4 at 8:38





          updated my post

          – Mano M
          Mar 4 at 8:38













          did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

          – Kirill Korushkin
          Mar 4 at 10:29





          did you follow all the theme creation guideline? devdocs.magento.com/guides/v2.3/frontend-dev-guide/themes/…

          – Kirill Korushkin
          Mar 4 at 10:29


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f264247%2fhow-to-override-view-xml-file-in-custom-module%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Aardman Animations

          Are they similar matrix

          “minimization” problem in Euclidean space related to orthonormal basis