Link To Project http://drupal.org/project/1982290/git-instructions
GIT CLONE: git clone --branch 7.x-1.x deepaksrgm2010@git.drupal.org:sandbox/deepaksrgm2010/1982290.git uc_donation_incentives
Donation Incentives are rebate, where the rebate is a donation to charity For Drupal 7(in the consumer's name).
The donation incentives can be
a fixed amount
a percentage of the sell price
a fixed amount, or a percentage of the sell price. A default donation incentive can be applied to all products, and can also be set on a per-product basis.
The module is quite flexible, and the admin has several options controlling how donation incentives are displayed on product nodes and in checkout and cart panes. It works if you just want to support a single charity, or if you want to give your consumers the power to choose from several charities.
A special donation incentive report allows to you keep track of orders that contain donation amounts within them, along with the status of the donation (ie: pending, complete).
Functionality Scope
This module only applies donation incentives to products and calculates donation amounts in orders. Charity selection, donation remittance and tax receipting are not handled by the module module.
Thanks in advance for all your help and efforts
Comments
Comment #1
el_toro commentedHi deepaksrgm2010,
You're supposed to provide a link to the sandbox and git clone instructions in the issue description.
In addition to that you're supposed to have a 7.x-1.x branch instead of a master branch. This will ensure that the compatibility of your module is clearly indicated.
There are also some errors from pareview that you need to take care of http://ventral.org/pareview/httpgitdrupalorgsandboxdeepaksrgm20101982290git
Comment #2
pranit84Manual Review:
1. Several lines of commented code is present in "uc_donation_incentives.checkout_pane.inc" file. Remove it.
2. Indentation and other drupal coding standard needs to be followed. For details see: http://drupal.org/coding-standards
3. you are working in the "master" branch in git. User version specific branch. See: Moving from a master to a major version branch
4. In "uc_donation_incentives.admin.inc" line number 107, use t() function.
5. Write proper comments to describe functionality of each functions. Check: line number: 165-169 in "uc_donation_incentives.admin.inc".
6. Useless function like test() in .module file needs to be removed.
7. In 817 line of .module file use t() function for message.
8. Remove lines 11-18 from .info file.
Comment #3
sreynen commentedComment #4
deepaksrgm2010 commentedThank you very much for your feed back.
Will do the recommended changes and update ASAP.
thank you again for help.
Comment #4.0
deepaksrgm2010 commentedlinks to version control added
Comment #4.1
deepaksrgm2010 commentedadded git branch,git details
Comment #5
deepaksrgm2010 commentedHi,
I have made the suggested changes, I believe that the module is now ready for review
changes made
1)Added git branch
2)Adjusted alignment issues
3)Drupal Coding standard followed to the best of knowledge
Comment #6
sreynen commenteddeepaksrgm2010, make sure to change the status to "needs review" so everyone can see it's ready for review.
Comment #7
PA robot commentedWe are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)
Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #8
davidam commentedIt continues giving a lot of errors in http://ventral.org/pareview/httpgitdrupalorgsandboxdeepaksrgm20101982290git
Comment #9
afi_amouzou commentedHallo deepaksrgm2010,
I install the Module and I get this errors in my node view and store reports page.
1. Node View Page
Undefined property: stdClass::$donation_incentive in uc_donation_incentives_node_view() (line 144 of uc_donation_incentives/uc_donation_incentives.module).
Trying to get property of non-object in uc_donation_incentives_preprocess_uc_donation_incentives_incentive() (line 444 of uc_donation_incentives/uc_donation_incentives.module).
You should check your data und provide defaults if this variable is not set to avoid errors:
2. Store Reports Page
Trying to get property of non-object in uc_donation_incentives_report() (line 120 of uc_donation_incentives.admin.inc).
Undefined property: stdClass::$uid in uc_donation_incentives_report() (line 162 of uc_donation_incentives.admin.inc).
Comment #10
kscheirerThis is the link to your project page: https://drupal.org/sandbox/deepaksrgm2010/1982290.
You have a duplicate "a fixed amount, or a percentage of the sell price" on your project page.
Great README.txt file! You have some extraneous comments at the end of uc_donation_incentives.install.
In uc_donation_incentives.module you have some require_once statements in the global scope, that will add them to all Drupal page requests. Only load them when you need them.
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/httpgitdrupalorgsandboxdeepaksrgm20101982290git. This project is hard to read and review until those are (mostly) fixed.
----
Top Shelf Modules - Enterprise modules from the community for the community.
Comment #11
PA robot commentedClosing due to lack of activity. Feel free to reopen if you are still working on this application.
I'm a robot and this is an automated message from Project Applications Scraper.
Comment #11.0
PA robot commentedcode tag added