Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partially fix checkout tabs #446

Merged
merged 2 commits into from
Jan 31, 2023
Merged

Conversation

Hlavtox
Copy link
Contributor

@Hlavtox Hlavtox commented Jan 30, 2023

Questions Answers
Description? Checkout steps were missing some information during initial render.
Type?
BC breaks?
Deprecations?
Fixed ticket?
Sponsor company
How to test?

Ping @SharakPL Button in the breadcrumbs (checkout-steps.tpl) is still missing active class, causing buggy step switching. I don't know where to get this information.

@Hlavtox Hlavtox mentioned this pull request Jan 30, 2023
47 tasks
@Hlavtox Hlavtox closed this Jan 30, 2023
@Hlavtox Hlavtox reopened this Jan 30, 2023
@Hlavtox
Copy link
Contributor Author

Hlavtox commented Jan 30, 2023

Ping @nicosomb All good

@nicosomb
Copy link
Contributor

@Hlavtox is there a QA step for hummingbird?

@Hlavtox Hlavtox merged commit ddbffcb into PrestaShop:develop Jan 31, 2023
@Hlavtox
Copy link
Contributor Author

Hlavtox commented Jan 31, 2023

@nicosomb Not yet, I will discuss it with QA team to establish it.

@Hlavtox Hlavtox deleted the checkout-tabs branch January 31, 2023 07:18
@jirbel
Copy link
Contributor

jirbel commented Jan 31, 2023

I manage to get info about steps using {Context::getContext()->controller->getCheckoutProcess()->getSteps()}, but this is very uggly.

From this method, you can get title, identifier, complete, reachable and current, so in checkout-steps.tpl there can be foreach for every step with tpl including li>button with initial data from backend.

Question: Is there better approach to achive this?

@Hlavtox

@Hlavtox
Copy link
Contributor Author

Hlavtox commented Jan 31, 2023

@jirbel Managed to fix it ;-) #450

@Hlavtox Hlavtox restored the checkout-tabs branch January 31, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants