The module provides a new commerce checkout pane, the content of which can be configured via rules. This comes useful for example when you
want to display a certain message to the user depending on the payment method and drupal_set_message is not the right / appropriate / acceptable method.
The module provides a new rules event ("Determine rules checkout pane content") and a two new actions ("Set the completition message" and "Set an entity to be displayed as completition message"). Set the completition message: allows users to display a simple messages in the rules commerce pane. Set an entity to be displayed as completition message allows users to display an entity in the rules commerce pane: a node with detailed instructions, or the active order, or user object, etc.
Project page: http://drupal.org/sandbox/primsi/1673880
Git repo: git clone http://git.drupal.org/sandbox/primsi/1673880.git commerce_rules_pane
Drupal core version: 7.x
Reviews of other projects:
Comments
Comment #1
Jeffrey C. commentedAutomated Review:
An automated review of your project has found some issues with your code; As coding standards make sure projects are coded in a consistent style we please you to have a look at the report and try to fix them. Anyway, note that issues found are possibly false positives and fixing all issues is not a requirement for getting through the application process.
You can find the results of the automated report at http://ventral.org/pareview/httpgitdrupalorgsandboxprimsi1673880git.
Comment #2
Jeffrey C. commentedPutting status to needs work.
Comment #3
primsi commentedThx for the review. Coding standards issues are now fixed: http://ventral.org/pareview/httpgitdrupalorgsandboxprimsi1673880git
Comment #4
primsi commentedChanging status.
Comment #5
mitchell commentedAdding Commerce's review tag.
Comment #6
dabblela commentedHi primsi -
Thanks for your contribution. This looks like it could be a really useful module, but I have some notes which I"ve added in an issue on your project:
#1677114: Refactor to take better advantage of Rules
I'd like to get your feedback on that before providing a comprehensive review.
Comment #7
dabblela commentedComment #8
primsi commentedThanks for the review manatwo. I have addressed the 'storing in session' issue and provided the rules action with the commerce order context.
Although input on both issues is still welcome, I am setting this to needs review.
Comment #9
primsi commentedThere have been some changes in the module:
Comment #10
slashrsm commentedIt looks OK to me. I just got one sniffer message left:
I'd suggest to add CHANGELOG.txt file. You can then copy commit messages into it to track changes. You will find more info about this here: http://drupal.org/node/52287.
I'd call this passed, when you fix this things.
Comment #11
primsi commentedThx for the review. I've added CHANGELOG.txt:
http://drupalcode.org/sandbox/primsi/1673880.git/commit/2baccfb
As for the coding standards error, I don't get that one. Perhaps I have fixed this in a previous commit:
http://ventral.org/pareview/httpgitdrupalorgsandboxprimsi1673880git
Comment #12
slashrsm commentedGreat. I'd then call this passed.
Comment #12.0
slashrsm commentedAdding the Drupal core version compatibility.
Comment #12.1
primsi commentedAdding a review.
Comment #12.2
primsi commentedUpdated issue summary.
Comment #12.3
primsi commentedFixed the Git repo line.
Comment #12.4
primsi commentedFixed the git clone branch.
Comment #13
mitchell commentedCould this be reworked as a patch directly in Commerce's Checkout module, for example in #1233508: Checkout display as rules event, #1122386: Allow rules to control which panes are visible during checkout, or #1645252: Allow administrators to trigger "checkout completed"?
I found those in http://drupal.org/project/issues/commerce?text=rules&component=Checkout
Comment #14
primsi commentedThank you for the review.
#1233508: Checkout display as rules event - provides a way to configure checkout page properties settings via rules, "Commerce rules pane" provides a new checkout pane, where you can display an arbitrary message or an arbitrary entity (e.g. user completes checkout, we display him the invoice, or a node with further information ).
#1122386: Allow rules to control which panes are visible during checkout - aims to control the visibility per pane: "essentially, if the customer is buying only digital products, we don't want to collect a shipping address."
#1645252: Allow administrators to trigger "checkout completed" - seems to be a usability issue, that allows store admins to easily change the order status?
Comment #14.0
primsi commentedUpdated issue summary.
Comment #14.1
primsi commentedUpdated issue summary.
Comment #14.2
primsi commentedUpdated issue summary.
Comment #14.3
primsi commentedUpdated issue summary.
Comment #15
primsi commentedApplying for PAReview: review bonus.
Comment #16
klausiThere is still a master branch, make sure to set the correct default branch: http://drupal.org/node/1659588 . Then remove the master branch, see also step 6 and 7 in http://drupal.org/node/1127732
manual review:
"'Set the completition message'": typo: should be completion. Also elsewhere.
Othwerwise looks RTBC to me. Removing review bonus tag, you can add it again if you have done another 3 reviews of other projects.
Comment #17
patrickd commentedThanks for your contribution!
I updated your account to let you promote this to a full project and also create new projects as either a sandbox or a "full" project.
Here are some recommended readings to help with excellent maintainership:
You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and get involved!
Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Thanks to the dedicated reviewer(s) as well.
Comment #18.0
(not verified) commentedChaging issue description.