How to override view.xml file in custom module












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








      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 13 hours ago







      Mano M

















      asked 15 hours ago









      Mano MMano M

      934219




      934219






















          2 Answers
          2






          active

          oldest

          votes


















          1














          Try this,



          To create and 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
            13 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            13 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            13 hours ago











          • 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
            13 hours ago











          • @prathap.updated on my post

            – Mano M
            13 hours ago





















          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








          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • updated my post

            – Mano M
            14 hours ago











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

            – Kirill Korushkin
            12 hours ago











          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 and 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
            13 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            13 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            13 hours ago











          • 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
            13 hours ago











          • @prathap.updated on my post

            – Mano M
            13 hours ago


















          1














          Try this,



          To create and 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
            13 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            13 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            13 hours ago











          • 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
            13 hours ago











          • @prathap.updated on my post

            – Mano M
            13 hours ago
















          1












          1








          1







          Try this,



          To create and 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 and 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 13 hours ago

























          answered 14 hours ago









          Prathap GunasekaranPrathap Gunasekaran

          806213




          806213













          • 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
            13 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            13 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            13 hours ago











          • 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
            13 hours ago











          • @prathap.updated on my post

            – Mano M
            13 hours ago





















          • 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
            13 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            13 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            13 hours ago











          • 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
            13 hours ago











          • @prathap.updated on my post

            – Mano M
            13 hours ago



















          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
          13 hours ago





          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
          13 hours ago













          Bcoz, the design configuration grid was empty.

          – Mano M
          13 hours ago





          Bcoz, the design configuration grid was empty.

          – Mano M
          13 hours ago













          Is it working or not?

          – Prathap Gunasekaran
          13 hours ago





          Is it working or not?

          – Prathap Gunasekaran
          13 hours ago













          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
          13 hours ago





          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
          13 hours ago













          @prathap.updated on my post

          – Mano M
          13 hours ago







          @prathap.updated on my post

          – Mano M
          13 hours ago















          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








          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • updated my post

            – Mano M
            14 hours ago











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

            – Kirill Korushkin
            12 hours ago
















          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








          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















          • updated my post

            – Mano M
            14 hours ago











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

            – Kirill Korushkin
            12 hours ago














          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








          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.










          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








          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          share|improve this answer



          share|improve this answer






          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.









          answered 14 hours ago









          Kirill KorushkinKirill Korushkin

          1215




          1215




          New contributor




          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





          New contributor





          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.






          Kirill Korushkin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.













          • updated my post

            – Mano M
            14 hours ago











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

            – Kirill Korushkin
            12 hours ago



















          • updated my post

            – Mano M
            14 hours ago











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

            – Kirill Korushkin
            12 hours ago

















          updated my post

          – Mano M
          14 hours ago





          updated my post

          – Mano M
          14 hours ago













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

          – Kirill Korushkin
          12 hours ago





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

          – Kirill Korushkin
          12 hours ago


















          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

          How to label and detect the document text images

          Vallis Paradisi

          Tabula Rosettana