Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
woocommerce-quick-donation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wordpress
woocommerce-quick-donation
Commits
5d0b725a
Commit
5d0b725a
authored
Feb 24, 2015
by
Tech No Freaky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.1
* Plugin Activation Issue Fixed.
parent
0934cf7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
9 deletions
+17
-9
readme.txt
readme.txt
+8
-3
woocommerce-quick-donation-report.php
woocommerce-quick-donation-report.php
+8
-5
woocommerce-quick-donation.php
woocommerce-quick-donation.php
+1
-1
No files found.
readme.txt
View file @
5d0b725a
...
...
@@ -2,9 +2,11 @@
Contributors: varunms
Donate link: http://varunsridharan.in
Tags: WooCommerce,Quick Dontion,quick donation,online donation,wordpress donation,simple donation,donation form,WC donation,Online Payment,Payment,Online,Donate,Monthly Goal,affiliate, cart, checkout, commerce, configurable, digital, download, downloadable, e-commerce, ecommerce, inventory, reports, sales, sell, shipping, shop, shopping, stock, store, tax, variable, widgets, woothemes, wordpress ecommerce
Requires at least: 3.0 plus WooCommerce 2.x or higher
Tested up to: 4.1 + WooCommerce 2.x
Stable tag: 1.0
Requires at least: 3.0 or higher
Tested up to: 4.1.1
WC requires at least: 1.0
WC tested up to: 2.3.5
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
...
...
@@ -125,6 +127,9 @@ Yes you can! Join in on our <a href="https://github.com/technofreaky/woocomerce-
5. Email Template Settings For Donation Completed.
== Changelog ==
= 1.1 =
* Plugin Activation Issue Fixed.
= 1.0 =
* Configurable Min & Max Donation Amount
* Custom Error Messages
...
...
woocommerce-quick-donation-report.php
View file @
5d0b725a
...
...
@@ -60,13 +60,16 @@ class wc_quick_donation_report {
}
private
function
get_status_count
(){
foreach
(
$this
->
donation_orderids
as
$id
){
$order_status
=
get_post_status
(
$id
);
if
(
$order_status
==
'wc-on-hold'
||
$order_status
==
'wc-processing'
){
$this
->
status_count
++
;
if
(
!
empty
(
$this
->
donation_orderids
)){
foreach
(
$this
->
donation_orderids
as
$id
){
$order_status
=
get_post_status
(
$id
);
if
(
$order_status
==
'wc-on-hold'
||
$order_status
==
'wc-processing'
){
$this
->
status_count
++
;
}
}
return
$this
->
status_count
;
}
return
$this
->
status_count
;
return
''
;
}
private
function
generate_data
(){
...
...
woocommerce-quick-donation.php
View file @
5d0b725a
...
...
@@ -17,7 +17,7 @@
Plugin Name: Woocommerce Quick Donation
Plugin URI: http://varunsridharan.in/
Description: Woocommerce Quick Donation
Version: 1.
0
Version: 1.
1
Author: Varun Sridharan
Author URI: http://varunsridharan.in/
License: GPL2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment