﻿=== Fundraising for WooCommerce ===
Contributors: wpexpertsio
Tags: WooCommerce, Donation, Product, Crowdfunding
Requires at least: 4.9
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.2.5
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

== Description ==
A powerful WooCommerce Donation Extension which lets you collect donations easily without any transaction fee. User have an option to Generate multiple campaigns and raise funds for multiple causes. Provide the option to your donors at the cart page to donate instantly along with another product purchase.

== Installation ==
1- Download Donation For WooCommerce from WooCommerce.com
2- Go to: WordPress Admin > Plugins > Add New and Upload Plugin with the file you downloaded with Choose File.
3- Install Now and Activate the extension.

== WCCF FILTERS LIST ==
1- wccf_theme_color - change theme color ( '#1adc68' )
2- wccf_danger_color - change danger color ( '#ff0000' )
3- wccf_success_color - change success color ( '#1adc68' )
4- wccf_text_color_pri - change text primary color ( '#000' )
5- wccf_text_color_sec - change text secondary color ( '#FFF' )
6- wccf_goal_progress_color - change goal progress color ( $themeColor )
7- wccf_campaign_other_amount_placeholder - change custom amount input placeholder text ( $placeholder_text, $min, $max )
8- wccf_avaialble_payment_gateways - surrpass if you want to visible cash on delivery method while the donation product is in cart ( $flag ) default value is true.
9- wccf_removed_payment_gateway_notice - if you want to change the default notice when the COD method is disabled. This will work when 'wccf_avaialble_payment_gateways' is true and cash on delivery is enabled from the backend. ( $message ).
10- wccf_campaign_before_display_meta_on_cart - display product meta on cart ( $item_data, $cart_item )
11- wccf_campaign_hidden_order_frontend_itemmeta - hide item meta on order frontend ( $formatted_meta )
12- wccf_campaign_hidden_order_itemmeta - hide order item meta shop_order page ( $item_meta )
13- wccf_campaign_before_display_meta_key_on_order - before displaying item meta on order ( $key, $meta, $item )
14- wccf_campaign_redirect_to_checkout - pass empty if you dont want to redirect to checkout page after adding to cart donation ( $checkout_url )
15- wccf_campaign_response - change response object when donation add to cart request hit ( $response )
16- wccf_campaign_coupon_validate - pass true if you want to apply coupon on donation products. default is false ( $flag ).
17- wccf_campaign_show_hidden_products - pass true if you want to Show campaign products in product list wp admin ( $flag ). default is false.
18- wccf_user_authentication (true) - Use if you want to make user logged in whether status is pending or denied.
19- wccf_email_subject - Change email subject which sents to user when their status changed. ( $subject )
20- wccf_email_message - Change email body text for the same email ( $body, $status )

== WCCF ACTIONS LIST ==
1- wccf_container_start - in dashboard view.
2- wccf_container_end - in dashboard view.
3- woocommerce_register_form_start - in registration form view.
4- woocommerce_register_form_end - in registration form view.
5- woocommerce_register_form_add_extra_fields - in registration form view.
6- wccf_campaign_before_donate - before donation add to cart via ajax.
7- wccf_campaign_after_donate - after donation add to cart but before ajax response successful.
8- wccf_campaign_before_single_donation - start of single campaign donation template. ( campaign_id, $product_id ).
9- wccf_campaign_after_single_donation - after single campaign donation template. ( campaign_id, $product_id ).
10- wccf_campaign_before_save_campaign_meta - before saving campaign meta ( $post_id ).
11- wccf_campaign_after_save_campaign_meta - after saving campaign meta ( $post_id ).
12- wccf_campaign_before_save_product_meta - before saving product meta ( $post_id ).
13- wccf_campaign_after_save_product_meta - after saving product meta ( $post_id ).
14- wccf_created_customer - before updating user meta ( $customer_id, $new_customer_data ).
15- wccf_container_start - before dashboard template.
16- wccf_container_end - after dashboard template.
17- woocommerce_register_form_tag - user registration form tag.
