Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am having the same issue as in #1293866: Need to remove empty pages from progress bar. I have no payment method enabled, but the step is shown in the progress bar.
Comment | File | Size | Author |
---|---|---|---|
#7 | commerce_checkout_progress-make_sure_pane_is_enabled-1930346.patch | 729 bytes | andyg5000 |
Comments
Comment #1
Lukas von Blarerthis was introduce with this commit:
http://drupalcode.org/project/commerce_checkout_progress.git/commit/6039931
Comment #2
jcisio CreditAttribution: jcisio commentedLooks like we have a ping pong with #1293866: Need to remove empty pages from progress bar and #1713354: Make "Payment" stage visible on cart page then.
Comment #3
Marko B CreditAttribution: Marko B commentedHmm I have the same problem, payment is there but nothing is shown and commerce goes from 2 directly to 4 in progress indicator. How to fix that ?
Comment #4
kaido.toomingas CreditAttribution: kaido.toomingas commentedThere is problem with commerce. You can not disable payment redirect pane. This issue is not about checkout progress module. I found two ways to fix it.
1. You can go and turn off your payment redirect pane if you don't have any (offsite)payment options.
2, You can unset payment step using commerce checkout progress module API. This will work if you only want to remove one step from checkout progress module steps.
Comment #5
nvahalik CreditAttribution: nvahalik at Centarro commentedComment #6
demonde CreditAttribution: demonde commentedI would like to ask you to make an option on the checkout settings page in the "Commerce Checkout Progress" options:
"Unlock payment redirect pane".
I think this is extremly useful since otherwise I would not use this module in some cases or I have to write custom code.
Comment #7
andyg5000I was able to resolve this by making sure the pane is enabled during the
commerce_checkout_progress_get_items()
routine.Comment #8
joelpittetThis looks like a nice solution @andyg5000
Comment #9
nvahalik CreditAttribution: nvahalik commentedCommitted to dev branch.
Comment #11
lukasss CreditAttribution: lukasss commented#7 and dev not working for me
Comment #12
lukasss CreditAttribution: lukasss commentedSorry.
I understood
I forgot to implement it:
AND
off the payment pane