Closed (fixed)
Project:
Commerce Checkout Progress
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Mar 2012 at 16:18 UTC
Updated:
6 Aug 2015 at 04:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
webmasterkai commentedI agree. A patch or code snippet would be greatly appreciated. Thanks!
Comment #2
mrfelton commentedThis does the trick.
Comment #3
mrfelton commentedActually, I needed a little more than this, as we need to be able to alter the state based on attributes of the order, which we can not do from hook_commerce_checkout_page_info_alter() as it's no possible to get the $order object from there. See #1509450: Unable to load current order from hook_commerce_checkout_page_info_alter.
So, I added a drupal_alter function to allow other module to be able to directly alter the include/exclude state of checkout pages.
Comment #4
mrfelton commentedUpdated patch fixes whitespace issue.
Comment #5
simon georges commentedI just closed #1438836: Show all checkout panes in progress as a duplicate of this one.
Comment #6
brephraim commentedOK, so how do I implement this?
As in, what is the specific line I need to set so that $page[page_id] will not display in the checkout progress bar?
And also, so I am sure, do I call mymodule_commerce_checkout_progress_get_items_alter(&$pages) ?
Comment #7
brephraim commentedI changed
to
in order to get things working.
Comment #8
deggertsen commentedHere's an updated patch against dev including the change in #7.
Comment #9
joelpittetBeen using this for a while. Thank you.
Comment #11
nvahalik commented