Online Donation Using Woocoomerce. for woocommerce user's
== Description ==
WooCommerce Shopping Cart Donation which makes woocoomerce to use for online donation purpose.
This plugin will create a new product in the name of *donation*.
This Plugin Can called by using the below shortcode
`[wc_quick_donation]`
This Plugin Template Can Be Found Under [You Can Modify The Template Buy Copying To Your Theme's Folder]
`wc-quick-donation/template/donation_form.php`
This Plugin Settings Can Be Found Under
`Woocoomerce Settings => Quick Donation`
== Installation ==
1. Installing alternatives:
* *via Admin Dashboard:* Go to 'Plugins > Add New', search for "WooCommerce Quick Donation", click "install"
* *OR via direct ZIP upload:* Upload the ZIP package via 'Plugins > Add New > Upload' in your WP Admin
* *OR via FTP upload:* Upload `woocommerce-quick-donation` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. For Settings Look at your `Woocommerce => Settings => WC Quick Donation`
== Frequently Asked Questions ==
**How To Call / Use This Plugin ?**
This Plugin Can Be Called Using `[wc_quick_donation]`
**Can I Modify The Donation Form ?**
Yes. Its Possible By Copying To Your Theme's Folder `wp-content/plugins/wc-quick-donation/template/donation_form.php`
**What Is The Use Of Project Field ?**
Project is like [category / division]. for which you donation. muiltiple can be entered by `,` seperated eg : `Project 1,Project 2`
**I have an idea for your plugin!**
That\\'s great. We are always open to your input, and we would like to add anything we think will be useful to a lot of people. Please send your comment/idea to varunsridharan23@gmail.com
**I found a bug!**
Oops. Please User github / WordPress to post bugs. <a href="https://github.com/technofreaky/woocomerce-quick-donation/"> Open an Issue </a>
* Get all the settings for this plugin for @see woocommerce_admin_fields() function.
*
* @return array Array of settings for @see woocommerce_admin_fields() function.
*/
publicstaticfunctionget_settings(){
$settings=array(
'section_title'=>array(
'name'=>'Woocommerce Quick Donation Settings',
'type'=>'title',
'desc'=>'Just Call <code><strong>[wc_quick_donation]</strong></code> short code any where in your page,post,widgets or template <br/>
To Customize the <strong>Donation Form</strong> copy the template file from <code>woocommerce-quick-donation/template/donation_form.php</code> to your <code>theme/woocommerce</code> folder.
',
'id'=>'wc_quick_donation_section_title'
),
'donate_redirect'=>array(
'name'=>'Donation Redirect',
'desc'=>'Redirect User Checkout If Added To Cart.',
'id'=>'wc_quick_donation_redirect',
'type'=>'select',
'class'=>'chosen_select',
'options'=>array('false'=>'No Redirect','true'=>'Redirect To Checkout Page')
),
'donate_redirect'=>array(
'name'=>'Remove Cart Items',
'desc'=>'Removes Other Cart Items If Donation Aded To Cart.',
'id'=>'wc_quick_donation_cart_remove',
'type'=>'select',
'class'=>'chosen_select',
'options'=>array('false'=>'Keep All Items','true'=>'Remove All Items')
),
'project_names'=>array(
'name'=>'Project Names',
'type'=>'textarea',
'desc'=>'Add Names By <code>,</code> Seperated ',
'id'=>'wc_quick_donation_projects',
'default'=>'Project1,Project2'
),
'order_project_title'=>array(
'name'=>'Order Project Title',
'type'=>'text',
'desc'=>'Title to view in order edit page',
'id'=>'wc_quick_donation_project_section_title',
'default'=>'For Project'
),
'order_notes_title'=>array(
'name'=>'Order Notes Title',
'type'=>'text',
'desc'=>'to display project name use <code>Project Name : %s</code>',