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
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
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
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.
add a comment |
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
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
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.
add a comment |
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
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
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
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
checkout magento-2.2.5
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.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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
.
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
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
.
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
add a comment |
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
.
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
add a comment |
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
.
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
.
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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