Magento 2.2.5 checkout page summary discount row shows as expandedMagento2 : Checkout items summary customization issueHow to get payment methods to load when shipping step has been removedCart Summary expandedHow Do I Override Checkout HTML TemplatesMagento 2.2.2 - how to remove company and zipcode from billing address from checkoutAdding a product attribute in checkout summaryMagento2: On Checkout page, order summary box product name updateMagento 2.2.5 How to add additional products to cart from new checkout step?Remove sticky behaviour of cart summary in Magento 2.2Magento2 change label of phone number field

How do I tell my girlfriend she's been buying me books by the wrong author for the last nine months?

Are all notation equal by derivatives?

Why should I allow multiple IP addresses on a website for a single session?

Find the closest three-digit hex colour

How can I change my buffer system for protein purification?

What could a Medieval society do with excess animal blood?

Can you run PoE Cat6 alongside standard Cat6 cables?

I agreed to cancel a long-planned vacation (with travel costs) due to project deadlines, but now the timeline has all changed again

Classify 2-dim p-adic galois representations

Could citing a database like libgen get one into trouble?

What's the difference between the Find Steed and Find Greater Steed spells?

Existence of infinite set of positive integers s.t sum of reciprocals is rational and set of primes dividing an element is infinite

What is the meaning of "it" in "as luck would have it"?

How come having a Deathly Hallow is not a big deal?

German idiomatic equivalents of 能骗就骗 (if you can cheat, then cheat)

Why would Dementors torture a Death Eater if they are loyal to Voldemort?

"Best practices" for formulating MIPs

*p++->str : Understanding evaluation of ->

What is the function of const specifier in enum types?

Does Dhp 256-257 condone judging others?

Are there advantages in writing by hand over typing out a story?

Available snapshots for main net?

To “Er” Is Human

Why will we fail creating a self sustaining off world colony?



Magento 2.2.5 checkout page summary discount row shows as expanded


Magento2 : Checkout items summary customization issueHow to get payment methods to load when shipping step has been removedCart Summary expandedHow Do I Override Checkout HTML TemplatesMagento 2.2.2 - how to remove company and zipcode from billing address from checkoutAdding a product attribute in checkout summaryMagento2: On Checkout page, order summary box product name updateMagento 2.2.5 How to add additional products to cart from new checkout step?Remove sticky behaviour of cart summary in Magento 2.2Magento2 change label of phone number field













4















In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded and I would like it not to always be expanded by default. See the screenshot below. Where and how do I make that not be auto-expanded? I looked in vendor/magento/module-checkout/view/frontend/web/template/summary but not sure what file would be edited and how. of course I will move the file to my theme once I know which one needs to be edited.
see screenshot



enter image description here



Thank you @fmsthird I moved the file from Vendor to my theme folder which happens to be



app/design/frontend/Smartwave/porto/Magento_Checkout/templates/summary


I then recompiled and redeployed and flushed magento cache but I dont see any change.



My first row in the cart-items.phtml looks like this



<div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'false', 'false': isItemsBlockExpanded()">









share|improve this question

















This question has an open bounty worth +50
reputation from Jayreis ending ending at 2019-07-03 21:30:30Z">in 3 days.


Looking for an answer drawing from credible and/or official sources.


Looking for a resolution to this question and offering up a big bounty to get it.




















    4















    In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded and I would like it not to always be expanded by default. See the screenshot below. Where and how do I make that not be auto-expanded? I looked in vendor/magento/module-checkout/view/frontend/web/template/summary but not sure what file would be edited and how. of course I will move the file to my theme once I know which one needs to be edited.
    see screenshot



    enter image description here



    Thank you @fmsthird I moved the file from Vendor to my theme folder which happens to be



    app/design/frontend/Smartwave/porto/Magento_Checkout/templates/summary


    I then recompiled and redeployed and flushed magento cache but I dont see any change.



    My first row in the cart-items.phtml looks like this



    <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'false', 'false': isItemsBlockExpanded()">









    share|improve this question

















    This question has an open bounty worth +50
    reputation from Jayreis ending ending at 2019-07-03 21:30:30Z">in 3 days.


    Looking for an answer drawing from credible and/or official sources.


    Looking for a resolution to this question and offering up a big bounty to get it.


















      4












      4








      4








      In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded and I would like it not to always be expanded by default. See the screenshot below. Where and how do I make that not be auto-expanded? I looked in vendor/magento/module-checkout/view/frontend/web/template/summary but not sure what file would be edited and how. of course I will move the file to my theme once I know which one needs to be edited.
      see screenshot



      enter image description here



      Thank you @fmsthird I moved the file from Vendor to my theme folder which happens to be



      app/design/frontend/Smartwave/porto/Magento_Checkout/templates/summary


      I then recompiled and redeployed and flushed magento cache but I dont see any change.



      My first row in the cart-items.phtml looks like this



      <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'false', 'false': isItemsBlockExpanded()">









      share|improve this question
















      In Magento2.2.5 using the default Magento2 2 step checkout on the payment & review step in the order summary box the discount which I believe is suppose to be a drop down shows always as expanded and I would like it not to always be expanded by default. See the screenshot below. Where and how do I make that not be auto-expanded? I looked in vendor/magento/module-checkout/view/frontend/web/template/summary but not sure what file would be edited and how. of course I will move the file to my theme once I know which one needs to be edited.
      see screenshot



      enter image description here



      Thank you @fmsthird I moved the file from Vendor to my theme folder which happens to be



      app/design/frontend/Smartwave/porto/Magento_Checkout/templates/summary


      I then recompiled and redeployed and flushed magento cache but I dont see any change.



      My first row in the cart-items.phtml looks like this



      <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'false', 'false': isItemsBlockExpanded()">






      checkout magento-2.2.5






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 27 at 13:18







      Jayreis

















      asked Jun 24 at 11:04









      JayreisJayreis

      3519 silver badges34 bronze badges




      3519 silver badges34 bronze badges






      This question has an open bounty worth +50
      reputation from Jayreis ending ending at 2019-07-03 21:30:30Z">in 3 days.


      Looking for an answer drawing from credible and/or official sources.


      Looking for a resolution to this question and offering up a big bounty to get it.








      This question has an open bounty worth +50
      reputation from Jayreis ending ending at 2019-07-03 21:30:30Z">in 3 days.


      Looking for an answer drawing from credible and/or official sources.


      Looking for a resolution to this question and offering up a big bounty to get it.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          You can check cart-items.html from the path below:



          vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html 


          Look for the openedState attribute and change the active state to false.






          share|improve this answer























          • please see my updated on the bottom of my original message. Thanks

            – Jayreis
            Jun 27 at 13:19











          • Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

            – fmsthird
            Jun 27 at 14:35











          • No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

            – Jayreis
            Jun 27 at 15:08











          • I want just the line that says "Discount" to be collapsed

            – Jayreis
            2 days 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%2f279398%2fmagento-2-2-5-checkout-page-summary-discount-row-shows-as-expanded%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          You can check cart-items.html from the path below:



          vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html 


          Look for the openedState attribute and change the active state to false.






          share|improve this answer























          • please see my updated on the bottom of my original message. Thanks

            – Jayreis
            Jun 27 at 13:19











          • Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

            – fmsthird
            Jun 27 at 14:35











          • No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

            – Jayreis
            Jun 27 at 15:08











          • I want just the line that says "Discount" to be collapsed

            – Jayreis
            2 days ago















          0














          You can check cart-items.html from the path below:



          vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html 


          Look for the openedState attribute and change the active state to false.






          share|improve this answer























          • please see my updated on the bottom of my original message. Thanks

            – Jayreis
            Jun 27 at 13:19











          • Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

            – fmsthird
            Jun 27 at 14:35











          • No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

            – Jayreis
            Jun 27 at 15:08











          • I want just the line that says "Discount" to be collapsed

            – Jayreis
            2 days ago













          0












          0








          0







          You can check cart-items.html from the path below:



          vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html 


          Look for the openedState attribute and change the active state to false.






          share|improve this answer













          You can check cart-items.html from the path below:



          vendor/magento/module-checkout/view/frontend/web/template/summary/cart-items.html 


          Look for the openedState attribute and change the active state to false.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jun 26 at 21:52









          fmsthirdfmsthird

          3,4474 gold badges7 silver badges31 bronze badges




          3,4474 gold badges7 silver badges31 bronze badges












          • please see my updated on the bottom of my original message. Thanks

            – Jayreis
            Jun 27 at 13:19











          • Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

            – fmsthird
            Jun 27 at 14:35











          • No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

            – Jayreis
            Jun 27 at 15:08











          • I want just the line that says "Discount" to be collapsed

            – Jayreis
            2 days ago

















          • please see my updated on the bottom of my original message. Thanks

            – Jayreis
            Jun 27 at 13:19











          • Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

            – fmsthird
            Jun 27 at 14:35











          • No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

            – Jayreis
            Jun 27 at 15:08











          • I want just the line that says "Discount" to be collapsed

            – Jayreis
            2 days ago
















          please see my updated on the bottom of my original message. Thanks

          – Jayreis
          Jun 27 at 13:19





          please see my updated on the bottom of my original message. Thanks

          – Jayreis
          Jun 27 at 13:19













          Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

          – fmsthird
          Jun 27 at 14:35





          Try like <div class="block items-in-cart" data-bind="mageInit: 'collapsible':'openedState': 'active', 'active': 'false'">

          – fmsthird
          Jun 27 at 14:35













          No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

          – Jayreis
          Jun 27 at 15:08





          No I tried compiling deploying and flushing cache but I don't think that file controls the "discount" line that i am trying to make be collapsed.

          – Jayreis
          Jun 27 at 15:08













          I want just the line that says "Discount" to be collapsed

          – Jayreis
          2 days ago





          I want just the line that says "Discount" to be collapsed

          – Jayreis
          2 days 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%2f279398%2fmagento-2-2-5-checkout-page-summary-discount-row-shows-as-expanded%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

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form