Posted by Dippers on July 25, 2012 at 6:58am
1 follower
| Project: | Commerce Checkout Progress |
| Version: | 7.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
When determining whether the user has access to previous checkout pages this module uses a simple 'every page before this page is allowed' algorithm rather than the more complex algorithm used in commerce_checkout_page_access which checks that there is a 'previous' or 'next' button chain between this page and the requested page. A patch to changeif ($visited){
toif (commerce_checkout_access_page($page_id, $order)){
in theme_commerce_checkout_progress_list would use the commerce function. At the moment I override the theme function to get this functionality as I use a complex checkout process.