cancel
Showing results for 
Search instead for 
Did you mean: 

Magento2: How can set same sequence of bundle option in summary box?

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Magento2: How can set same sequence of bundle option in summary box?

I want to do same sequence in summary box like all option is showing of bundle product. Please check below screenshot.

https://prnt.sc/rpwuvu

I have tried to edit in this path but unable to do this. app/code/Mymodue/Catalog/view/frontend/templates/catalog/product/view/summary.phtml

Anyone have an Idea, How can do that?

8 REPLIES 8

Re: Magento2: How can set same sequence of bundle option in summary box?

Hello @ravi22varma1 

 

 

https://github.com/magento/magento2/commit/4b57f6f9a83e094cf72a6f164227650070571b13#diff-aa1c4497c4e...

 

may be above link help you.

 

If works then mark as as solution.


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento2: How can set same sequence of bundle option in summary box?

Hi @Sunil Patel I have applied same solution which you given in commit.

But nothing is reflecting.

Is there any other solution. please help. I am stuck last 1.5 day.

 

Thanks in advance

Re: Magento2: How can set same sequence of bundle option in summary box?

Hello @ravi22varma1 

 

after did changes have you did setup:upgrade and static content deploy

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento2: How can set same sequence of bundle option in summary box?

Hi @Sunil Patel 

 

Yes ran both command and tested with 3-4 four products but not getting any change.

I have cross check commits which added/removed lines and match the code also.

I am using magento 2.2.2

Kindly help.

Re: Magento2: How can set same sequence of bundle option in summary box?

Hello @ravi22varma1 

 

app/code/Magento/Bundle/Block/Catalog/Product/View/Type/Bundle.php

 

in that they added optionsPosition

 

into json file

can you please print the config array and check json are giving position or not

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: Magento2: How can set same sequence of bundle option in summary box?

Hi @Sunil Patel 

 

Sorry for delay. I have checked array and print this $optionsArray and config data but didn't get any response. Added die also but page running. 

can you please help me where can actually do and so I can fix this. 

Re: Magento2: How can set same sequence of bundle option in summary box?

Hi @Sunil Patel 

 

Can you please help me for that. I have tried many time.

Thanks

Re: Magento2: How can set same sequence of bundle option in summary box?

Hi @Sunil Patel 

 

Can you please look into that 

or you have any other alternate solution also?