How to override view.xml file in custom moduleMagento 2.3 : How to implement declarative schema in custom...

What are alternatives to Razl?

How can I find an Adventure or Adventure Path I need that meets certain criteria?

Skis versus snow shoes - when to choose which for travelling the backcountry?

Why zero tolerance on nudity in space?

g++ and clang++ different behaviour with recursive initialization of a static member

Why is commutativity optional in multiplication for rings?

What's the rationale behind the objections to these measures against human trafficking?

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

Visualize execution of scripts

Sometimes a banana is just a banana

What's the purpose of these copper coils with resitors inside them in A Yamaha RX-V396RDS amplifier?

Eww, those bytes are gross

How to visualize a Cayley graph in this style?

How can I mix up weapons for large groups of similar monsters/characters?

Quenching swords in dragon blood; why?

CBP Reminds Travelers to Allow 72 Hours for ESTA. Why?

Is divide-by-zero a security vulnerability?

How to mitigate "bandwagon attacking" from players?

Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?

Soft question- The Bashing Technique and Other powerful techniques for Olympiads

How can I get the count of how many times a string appears in my list?

Copying files interactively: "cp: overwrite"

If all harmonics are generated by plucking, how does a guitar string produce a pure frequency sound?

Can the Count of Monte Cristo's calculation of poison dosage be explained?



How to override view.xml file in custom module


Magento 2.3 : How to implement declarative schema in custom moduleHow to add a Customer Attribute in a custom module using declarative schema in Magento 2.3?The checksum verification of the file failed (downloaded from https://repo.magento.com/archives/vertex/module-tax/vertex-module-tax-3.0.0.0.zip)Magento 2 is not generating the db_schema_whitelist.json file via CLII want to override the product/price/amount/default.phtml in my custom moduleCan't find InstallSchema in Cms/Wishlist module Magento 2.3Errors on Declarative Schema on custom module on 2.3How to configured Form Builder Js in my custom magento 2.3.0 module?Cron in my custom module is not runningwhat is $block->getchildhtml() in topmenu.phml file













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







      Mano M

















      asked 7 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
            5 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            5 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            5 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
            5 hours ago











          • @prathap.updated on my post

            – Mano M
            5 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
            6 hours ago











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

            – Kirill Korushkin
            4 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
            5 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            5 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            5 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
            5 hours ago











          • @prathap.updated on my post

            – Mano M
            5 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
            5 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            5 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            5 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
            5 hours ago











          • @prathap.updated on my post

            – Mano M
            5 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 5 hours ago

























          answered 5 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
            5 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            5 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            5 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
            5 hours ago











          • @prathap.updated on my post

            – Mano M
            5 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
            5 hours ago











          • Bcoz, the design configuration grid was empty.

            – Mano M
            5 hours ago











          • Is it working or not?

            – Prathap Gunasekaran
            5 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
            5 hours ago











          • @prathap.updated on my post

            – Mano M
            5 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
          5 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
          5 hours ago













          Bcoz, the design configuration grid was empty.

          – Mano M
          5 hours ago





          Bcoz, the design configuration grid was empty.

          – Mano M
          5 hours ago













          Is it working or not?

          – Prathap Gunasekaran
          5 hours ago





          Is it working or not?

          – Prathap Gunasekaran
          5 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
          5 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
          5 hours ago













          @prathap.updated on my post

          – Mano M
          5 hours ago







          @prathap.updated on my post

          – Mano M
          5 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
            6 hours ago











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

            – Kirill Korushkin
            4 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
            6 hours ago











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

            – Kirill Korushkin
            4 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 6 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
            6 hours ago











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

            – Kirill Korushkin
            4 hours ago



















          • updated my post

            – Mano M
            6 hours ago











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

            – Kirill Korushkin
            4 hours ago

















          updated my post

          – Mano M
          6 hours ago





          updated my post

          – Mano M
          6 hours ago













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

          – Kirill Korushkin
          4 hours ago





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

          – Kirill Korushkin
          4 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

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...