Hi, I have 2 questions:
On the page mentioned, when adding an amount for the donation (header: “Help je ons?” > in the cart it ends up as being added twice.
Tried to:
– use default theme
– deactivate other plugins
– deactivate ‘automatically redirect to cart’
– choose 1 ticket or multiple
Did not help, every time 2 items are added to the cart
Tried to:
– use single product instead of bundled: that helped
Any thoughts?
Is it possible to select multiple products on the settings page instead of just one?
Thank you, Maurice
]]>Hi, is there a way to make the size of the box and the font be larger in the free version? Thank you
]]>Hi, I would like to ask some help.
I have installed YITH Donation plugin, the widget shows on sidebar, but the amount do not go into the cart.
This is a simple site with Twenty-sixteen theme and woocommerce. (There is no any product, only donation).
I switched off all plugins, but the donation does not work.
I have just downloaded the free version and I am starting to try it, but in the settings page were I should choose from a drop down menu the product to apply the donation form to, I cannot choose anything from the drop down menu.
Can you resolve it? I would be glad to buy the premium version, if at least the free one would work…
Hi,
I have these messages showing in the product page and in the cart. What to do please?
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 229
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-discounts.php on line 87
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 229
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-discounts.php on line 87
Thx
]]>when I click donate with empty field ,it pop up alert icon with no message.
when I filled in the form,it shows ‘false View cart’ with tick icon .
how to fix this tissue ?
Is there a way I can redirect the user directly to the checkout page once he adds the donation amount using the widget
]]>Hi,
When I add the form with the shortcode or widget, all strings appears empty.
Also in the admin panel all text inputs of messages are empty. I can write but when I update I lost all the changes. If I press the “default values” button I can see the texts…but then I lost all of them.
Do you know what is happening?
]]>Hi
I inadvertently deleted “YITH Donations for WooCommerce” from the product list.
How can I restore this product as the plugin now no longer works?
I have tried deactivating, deleting and reinstalling but this does not work.
Any help gratfully received.
Thank you
]]>Hi i’m using a code in functions.php to skip the cart. It works fine with normal products i create, but it doesn’t work with the donation product this plugin creates automatically. Which would be the reason?
This is the code:
//Esquivar carrito e ir directo al checkout
add_filter( ‘woocommerce_add_to_cart_redirect’, ‘skip_woo_cart’ );
function skip_woo_cart() {
return wc_get_checkout_url();
}
Is there a way to add a dropdown list in extra field, so donors can choose from predefined causes?
]]>When I add a donation to the cart the item and donation amount are added to the cart but a second donation line item is in the cart with zero amount.
]]>I’m running simply the Twenty Nineteen Theme, WooCommerce, and this plugin Yith Donations. Whenever I add a donation to the cart I receive the following errors and it completely breaks my page – doesn’t take me to cart or checkout:
PHP Notice: Undefined index: ywcds_amount in wp-content\plugins\yith-donations-for-woocommerce\includes\classes\class.yith-woocommerce-donations.php on line 519
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:17
PHP 3. require_once() wp-blog-header.php:13
PHP 4. require_once() wp-load.php:37
PHP 5. require_once() wp-config.php:100
PHP 6. do_action() wp-settings.php:546
PHP 7. WP_Hook->do_action() wp-includes\plugin.php:465
PHP 8. WP_Hook->apply_filters() wp-includes\class-wp-hook.php:310
PHP 9. WC_Form_Handler::add_to_cart_action() wp-includes\class-wp-hook.php:286
PHP 10. WC_Form_Handler::add_to_cart_handler_simple() wp-content\plugins\woocommerce\includes\class-wc-form-handler.php:750
PHP 11. WC_Cart->add_to_cart() wp-content\plugins\woocommerce\includes\class-wc-form-handler.php:778
PHP 12. apply_filters() wp-content\plugins\woocommerce\includes\class-wc-cart.php:1097
PHP 13. WP_Hook->apply_filters() wp-includes\plugin.php:208
PHP 14. YITH_WC_Donations->add_cart_donation_item() wp-includes\class-wp-hook.php:288
PHP Warning: Cannot modify header information - headers already sent by (output started at wp-content\plugins\yith-donations-for-woocommerce\includes\classes\class.yith-woocommerce-donations.php:519) in wp-includes\pluggable.php on line 1251
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:17
PHP 3. require_once() wp-blog-header.php:13
PHP 4. require_once() wp-load.php:37
PHP 5. require_once() wp-config.php:100
PHP 6. do_action() wp-settings.php:546
PHP 7. WP_Hook->do_action() wp-includes\plugin.php:465
PHP 8. WP_Hook->apply_filters() wp-includes\class-wp-hook.php:310
PHP 9. WC_Form_Handler::add_to_cart_action() wp-includes\class-wp-hook.php:286
PHP 10. wp_safe_redirect() wp-content\plugins\woocommerce\includes\class-wc-form-handler.php:761
PHP 11. wp_redirect() wp-includes\pluggable.php:1356
PHP 12. header() wp-includes\pluggable.php:1251
PHP Warning: Cannot modify header information - headers already sent by (output started at wp-content\plugins\yith-donations-for-woocommerce\includes\classes\class.yith-woocommerce-donations.php:519) in wp-includes\pluggable.php on line 1254
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:17
PHP 3. require_once() wp-blog-header.php:13
PHP 4. require_once() wp-load.php:37
PHP 5. require_once() wp-config.php:100
PHP 6. do_action() wp-settings.php:546
PHP 7. WP_Hook->do_action() wp-includes\plugin.php:465
PHP 8. WP_Hook->apply_filters() wp-includes\class-wp-hook.php:310
PHP 9. WC_Form_Handler::add_to_cart_action() wp-includes\class-wp-hook.php:286
PHP 10. wp_safe_redirect() wp-content\plugins\woocommerce\includes\class-wc-form-handler.php:761
PHP 11. wp_redirect() wp-includes\pluggable.php:1356
PHP 12. header() wp-includes\pluggable.php:1254
As far as I can tell it’s trying to add 2 donation products for whatever reason. 1 as 0.00 and another at the price I entered on the product page. As far as I can tell at the moment, the plugin is completely unusable. I keep running into PHP issues and PHP notices.
– – – – –
If I disable debugging entirely ( via WP Config ) then the plugin seems to work as expected. I don’t get the whitescreen but both donation products are still added to cart. I would like to keep debugging on to track these kinds of issues though.
]]>I’m receiving the following PHP error on the cart page:
PHP Notice: Undefined index: ywcds_product_id in wp-content\plugins\yith-donations-for-woocommerce\includes\classes\class.yith-woocommerce-donations.php on line 628
PHP Stack trace:
PHP 1. {main}() index.php:0
PHP 2. require() index.php:17
PHP 3. require_once() wp-blog-header.php:19
PHP 4. include() wp-includes\template-loader.php:78
PHP 5. the_content() wp-content\themes\mytheme\page.php:13
PHP 6. apply_filters() wp-includes\post-template.php:247
PHP 7. WP_Hook->apply_filters() wp-includes\plugin.php:208
PHP 8. do_shortcode() wp-includes\class-wp-hook.php:286
PHP 9. preg_replace_callback() wp-includes\shortcodes.php:199
PHP 10. do_shortcode_tag() wp-includes\shortcodes.php:199
PHP 11. WC_Shortcodes::cart() wp-includes\shortcodes.php:325
PHP 12. WC_Shortcodes::shortcode_wrapper() wp-content\plugins\woocommerce\includes\class-wc-shortcodes.php:85
PHP 13. WC_Shortcode_Cart::output() wp-content\plugins\woocommerce\includes\class-wc-shortcodes.php:72
PHP 14. wc_get_template() wp-content\plugins\woocommerce\includes\shortcodes\class-wc-shortcode-cart.php:93
PHP 15. include() wp-content\plugins\woocommerce\includes\wc-core-functions.php:249
PHP 16. apply_filters() wp-content\plugins\woocommerce\templates\cart\cart.php:77
PHP 17. WP_Hook->apply_filters() wp-includes\plugin.php:208
PHP 18. YITH_WC_Donations->print_cart_item_donation() wp-includes\class-wp-hook.php:286
This error appears after I’ve added a donation to my cart.
]]>Hello,
I was wondering if it is possible to put the donation just before the “place order” button, as kind of a last step before checking out?
Thanks in advance.
-Pi
Dear developers,
I would like to add a placeholder label to the input box of the product page of donation with the following code, what should I do?
Original code
<input type="text" class="ywcds_amount_single_product" name="amount_single_product" value=">
Code I want to add:
<input type="text" class="ywcds_amount_single_product" name="amount_single_product" value="" placeholder="First name">
Thank you so much for reading and your help.
]]>I’m receiving the following error whenever working with this plugin:
PHP Notice: WC_Product::set_stock is <strong>deprecated</strong> since version 3.0! Use wc_update_product_stock instead. in \wp-includes\functions.php on line 3853
YITH_WC_Donations->init_ywds_plugin() \wp-includes\class-wp-hook.php:286
yit_save_prop() \wp-content\plugins\yith-donations-for-woocommerce\includes\classes\class.yith-woocommerce-donations.php:284
yit_set_prop() \wp-content\plugins\yith-donations-for-woocommerce\plugin-fw\yit-woocommerce-compatibility.php:113
This occurs whenever installing and moving products to trash.
]]>I find it strange that you can make a donation of 0€!
Is there a way to enter a minimum value (starting from 1€)?
Hi
There is an error in the donation section.
>.ajax-loading > /wp-admin/images/wpspin_light.gif
class=”ywcds_message woocommerce-message”
This wpspin_light.gif is blocked in many site maps.
This has caused Google to block indexes Blocked Resources.
In all robots.txt, the admin section is blocked. (Disallow: /wp-admin/)
Please fix it.
Thanks
Hello,
I’m getting these warnings on the Donations product when I’m adding a donation to the cart:
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php on line 234
Warning: A non-numeric value encountered in /wp-content/plugins/woocommerce/includes/class-wc-discounts.php on line 85
On the Cart page I’m getting this instead of the name of the product/donation:
Fatal error: Uncaught Error: Call to a member function get_title() on boolean in /wp-content/plugins/yith-donations-for-woocommerce/includes/functions.yith-wc-donations.php:90 Stack trace: #0 /wp-content/plugins/yith-donations-for-woocommerce/includes/classes/class.yith-woocommerce-donations.php(646): ywcds_get_product_donation_title(false) #1 /wp-includes/class-wp-hook.php(286): YITH_WC_Donations->print_cart_item_donation(‘Donate to Inter…’, Array, ‘fccc64972a9468a…’) #2 /wp-includes/plugin.php(203): WP_Hook->apply_filters(‘Donate to Inter…’, Array) #3 /wp-content/plugins/woocommerce/templates/cart/cart.php(79): apply_filters(‘woocommerce_car…’, ‘Donate to Inter…’, Array, ‘fccc64972a9468a…’) #4 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(210): include(‘/wp-content/plugins/woo…’) in /wp-content/plugins/yith-donations-for-woocommerce/includes/functions.yith-wc-donations.php on line 90
I have WooCommerce 3.4.1 and YITH Donations for WooCommerce 1.0.17.
Could you please help?
Thanks!
]]>Hello!
I’m getting the following errors in my error logs:
PHP Notice: Undefined index: ywcds_amount in /wp-content/plugins/yith-donations-for-woocommerce/includes/classes/class.yith-woocommerce-donations.php on line 549
PHP Notice: Undefined index: ywcds_product_id in /wp-content/plugins/yith-donations-for-woocommerce/includes/classes/class.yith-woocommerce-donations.php on line 652
I’ve looked into some of these a bit and it appears that woocommerce_add_cart_item
filter hook may run multiple times during a session, which in turn add_cart_donation_item
also gets run multiple times – a few of which will run before the custom ywcds_amount
has been added which may be why these errors appear. I think additional checks may need to be put in place to ensure that the indices exist before processing.
Additionally, another topic has brought up the same issue but I feel it may need to be touched on once more. The get_title()
fatal error:
PHP Fatal error: Uncaught Error: Call to a member function get_title() on boolean in /wp-content/plugins/yith-donations-for-woocommerce/includes/classes/class.yith-woocommerce-donations.php:657
Our product is attached as a donation and a regular price of 0.00
has been added. We can consistently replicate this issue by simply not adding a price to the donation field. It may be worth to hook into the add to cart ajax or simply adding custom JS to prevent the user from adding the donation to cart without an entered price.
These errors seem common ( at least in my install ) and it would be awesome to see an update to address the above points. Let me know if there’s anything I can do to help or anything that needs further clarification.
]]>Hi there,
I install your plugin. Everything goes fine. I insert 100 dollars and click “add to cart”. The cart shows “View Cart “YITH Donations for WooCommerce” has been added to your cart.” I click the cart, but the cart shows “Fatal error: Call to a member function get_title() on boolean in /mysite/wp-content/plugins/yith-donations-for-woocommerce/includes/classes/class.yith-woocommerce-donations.php on line 657”.
Please help!! Thank you!
Massound
]]>I am using the default product that is created with the plugin. Whenever someone tries to make a donation, the plugin causes the cart icon to show as if two items have been added, but it does show the correct donation amount. When you go to View Cart, the product image shows, but not the product name, price, quantity or total. The X to delete the account is there. This page also seems to break the view cart page as nothing else from Woo shows on the page. If you click the X to delete the product, a corrected Cart page appears, one donation shows and all is as it should be. Cache is cleared and have even tried this on browsers that have never accessed this site before. Can you assist? Thanks.
]]>When I try to add a shortcode through the text editor, it just comes up with a blank screen and I cannot add it. Can you give me the shortcode so I can just add it manually?
]]>When a user submits a donation amount along with a product submission to the cart a second or third time, all previous donation figures are reset to the new figure and the new donation is added to it. So, if I submitted for a £10 donation with the first product I added to cart, then submitted a £50 donation with the second product the cart then shows two £50 donations with my products in the cart.
]]>I found a weird bug… When I first add a donation, the cart doesn’t show any products. However the amount is in the total. When I add another donation to the cart, it shows up as a product (as it should). Is there a solution for this?
]]>is it possible to redirect to the checkout page instead of showing success message and letting user to go to cart?
]]>Hello there.
I am trying to use your great free plugin YITH Donations for WooCommerce and I find a bug.
I installed the but and I added a donation option on your main product called YITH Donations for WooCommerce in WooCommerce products.
I can add a custom amount but, when I go to the cart page, there is a bug (probably PHP mistake) as you can see there https://wp.renaissance-orgue.fr/boutique/panier/
If you see the Cart amount, it seems that your plugin make 2 articles (I just added your product once). You can try again adding this product https://wp.renaissance-orgue.fr/boutique/yith-donations-for-woocommerce/
What can I do? Thanks for the help.
Regards,
Thibaut
https://www.ads-software.com/plugins/yith-donations-for-woocommerce/
]]>After I install and activate YITH Donations plugin my site goes white. Thought it might be a theme conflict so changed the theme to Twenty Fifteen and it still happened. The site is eventshannibal.com.
Other Plugins I am using are:
Jetpack
MainWP Child
Master Slider
Ninja Forms
OpenTickets
Quick Page/Post Redirect
Simple Social Icons
TinyMCE Advanced
Woocommerce
Wordfence
Thanks for your help.
https://www.ads-software.com/plugins/yith-donations-for-woocommerce/
]]>When I add the product to the cart and then show the cart page doesn’t load completely !!
https://www.ads-software.com/plugins/yith-donations-for-woocommerce/
]]>