Comments (6)
Hi Cerexus,
thanks for reaching out.
Apparently the problem was introduced in the latest version of the WooCommerce PayPal plugin.
I'm currently investigating the issue, trying to find a solution and will hopefully release a fix in the next version.
Best, Jonas
from wc-donation-platform.
woocommerce/woocommerce-paypal-payments#499
from wc-donation-platform.
It looks like the following code should solve the problem. I recommend you add it with code snippets. I look forward to your feedback on whether it works for you:
add_filter('woocommerce_cart_get_cart_contents_total', function($total) {
if ($total == 0) {
return 1;
}
return $total;
});
I will add the fix in the next update.
from wc-donation-platform.
Thanks for your very fast help! It works perfectly with your snippet! :)
I have another question to you. Maybe its not the right place, but however..
Is it somehow possible to create Donation 5 for 5$, Donation 10 for 10$ and Donation X for any value? (3 different products)
I really need to have different "products" for different values bc some other plugins only work in that way. I tested a bit, but i really dont get it like that..
Thank you for helping!
from wc-donation-platform.
I'm afraid I don't quite understand what you're trying to achieve. Do you mean that the minimum/maximum amount for a donation should be different for each product? Or that the suggested amounts should be different? Or should a product have a fixed price that the supporter cannot adjust?
from wc-donation-platform.
fixed in https://github.com/jonas-hoebenreich/wc-donation-platform/releases/tag/v1.2.4
from wc-donation-platform.
Related Issues (20)
- Translating the plugin HOT 10
- Is there a way i can change the "Order" in admin as "Donation" and apply same elsewhere in emails, analytics & reports HOT 1
- Urgent and important suggestion
- Feature request! #2 HOT 1
- Product data tab not working HOT 2
- How to Custom Button popup llink add HOT 1
- Woocommerce update required HOT 2
- translate the plugin HOT 5
- Divi integration causes shutdown HOT 1
- Multi currency support HOT 2
- Fatal error: Uncaught Error: Class "WPO\WC\PDF_Invoices\Compatibility\Order" not found HOT 4
- Progress bar not update HOT 1
- Progress Bar HOT 1
- Shortcodes For Templates HOT 1
- Conflict when using popup style and the dropdown selection. HOT 1
- High-Performance order storage (COT) HOT 1
- Recovery fee issue not showing HOT 2
- Update compatibility for WooCommerce 8.4 and Wordpress 6.4.2 HOT 5
- [BUG] Auto scrolling to start of donation form on page load HOT 1
- [Feature request] automatic scrolling to next step in style 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wc-donation-platform.