wpprodigy / woocommerce-product-fees Goto Github PK
View Code? Open in Web Editor NEWAdd additional fees at checkout based on products that are in the cart.
Home Page: https://wordpress.org/plugins/woocommerce-product-fees/
License: Other
Add additional fees at checkout based on products that are in the cart.
Home Page: https://wordpress.org/plugins/woocommerce-product-fees/
License: Other
I want to add a "Security Deposit" on my rental website. I want to do the following:
Example 1:
Product, Rental Cost: 100$, Security Deposit: 20$.
User pay the 100$ and the deposit a week before the actual rental.
Example 2:
Product 1, Rental Cost: 80$, Security Deposit: 15$
Product 2, Rental Cost: 100$, Security Deposit: 20$
User pay 80+100=180$ and first deposit 1 week before the rental date of product 1 and second deposit 1 week before the rental date of product 2.
Add an option to create a fee that is variation specific: http://cld.wthms.co/162D3/rxTx3vWl
doesnt work with wp import all. im loading 5000 products with for 4 variables each and all variables have different amount in fees. and now im adding fees name and fees amount manually product after product. WP import all doesnt sense or recognise it in any way.
I am testing two items and each have a $1 per unit fee and the identical fee name. When I add one to the cart, the fees display correctly. When I add the second, there are no additional fees added for that item. When I delete the first item, the fees for the second item will then appear.
For example:
I add 2 units of Product A to my cart.
Product A has a quantity of 2 and it displays the special product fee of $2.00.
I add 1 unit of Product B to my cart.
The special product fee is $2.00, not $3.00.
I remove the 2 units of Product A from my cart.
The special product fee is $1.00.
I can add the products in reverse order, and the fees will be correct for the first item, but never for the addition of the second item. The fees for the first item will always be the amount listed, not a total of the first and second items.
Hi there,
I'm running this plugin on a client store – https://www.cameronsbrewing.com/shop/. Totals are looking good on the front end, however taxes are still being charged on the order itself. We're using the 'No taxes for fees' class. Should I switch to 'Zero rate' instead?
FWIW, we're using the Sripe plugin alone to handle payments.
Any suggestion(s) how to fix this behaviour?
Thank you!
Hi,
With WooCommerce, I can use $product->get display_price()
to get the price of a product. Is there a method for getting the fee of the product?
Thanks
The standard class tax is currently missing from the dropdown.
Please, help!
In the cart page fees are displayed, when i go to the checkout page fees disappear and the total amount changes.
I tried to change the theme for WordPress, disconnected the caching plugin – the problem remains.
(Woocommerce 3.5.1)
Hi all, can you have more than one fee per product?
Hello,I have a problem which is very important.
After someone buys a product they also pay the product fees .
I need to see the product fee after i export it to CSV
Can someone help me ?
Thank You
I have product variations, price_decimal_separator , [comma] and a fee: 0,5 (set in the variation tab)
[fee set in variation tab: 1,5 works fine, btw]
if ( '' !== $fee_name && '' !== $fee_amount && $fee_amount > 0 ) {
return true;
}
return false;
returns false and no fee is added
My workaround:
$fee_amount = str_replace( wc_get_price_decimal_separator(), '.', $fee_amount );
if ( '' !== $fee_name && '' !== $fee_amount && $fee_amount > 0 ) {
return true;
}
return false;
}
This works fine, but you should have a look at this issue
Hi -
We've been using this plugin for a while now with no issues.
Any chance the compatibility with current WP and WC could be updated soon?
Wordpress.org gives the "hasn’t been tested with the latest 3 major releases of WordPress" warning - which then also triggers security warnings elsewhere. But it seems like it's still working and possibly simple enough that maybe it doesn't need any changes?
Thanks,
P
Hi,
In older version, fees was added when customer bought his order, after we create it on BO
Now fees are not displayed if we create an order in BO, or create a request for a quote (yith module).
It will be greate if it works properly, if fees are displayed when a order is created in BO.
regards
If a store is selling multiple products that have a similar fee structure (for example, selling event tickets where there is a per-transaction or per-ticket booking fee), it should be possible to set this fee structure at a "Woocommerce Settings" level, and then assign the product category that these fees should apply to (with an override option within individual products).
This enables the same fee template to be reused on multiple products and reduces the possibility of manual data entry errors when the product is created/edited.
Hello,
I’m having a problem that has only shown up recently.
If a customer has more than one item in their cart with a fee, only the first item in the cart has it’s fee applied. All of the other item fees are dropped. If you delete the first item from the cart, the new top item get’s it’s fee applied.
I have the WooCommerce -> Products -> Product Fees -> Fee Name Conflicts set to “Combine”. But in this case the fees have different names so it shouldn’t matter.
Any suggestions you have, I greatly appreciate. Thanks!
If I select a product with a fee on the admin order page, it would be great if the product fees were automatically added, rather than having to add fees manually to a product.
Hello,
I think that all is on the title.
It could be great to have an option to update all products fees by uploading a csv files.
What do you think?
It would be awesome if we could add multiple fees to the total, such as "Cleaning Fee" and "Refundable Damage Deposit"
Hello Caleb,
I texted you on twitter regarding a problem I have on http://udkast.net/state_test/
I have made a video describing my problem:
https://storyxpress.co/video/kmmkwnu2b5xqxojd2
Can you do something for me in this situation?
All the best, Nicholas
I am using product fees to add in additional shipping/handling fees per variation. I need these to not be added if someone selects "Local Pickup". Seems like a basic task - just don't know the best method to accomplish. An additional concern is "Free Shipping" - system still needs to calc and add fees if free shipping is added by a coupon. Thanks in advance!
Hi Caleb,
I’m reaching out regarding the following. We’re currently using your WooCommerce Product Fees plugin on our website, which works great until now.
However, we’re planning to change of fee structure for our products and I’m wondering if we can set the fees to a fixed amount + a percentage of the product price.
Is this possible or can you add this to your plugin?
Looking forward to your reply.
It would be great to have an option to limit a fee to a certain country.
I was thinking of hiding the fee based on the IP address until the customer enters their address and then use the info supplied by the customer instead.
I was looking at WC_Geo_IP for doing this but can't get it to work (https://docs.woocommerce.com/wc-apidocs/class-WC_Geo_IP.html).
I'd be very grateful for any suggestions.
I was able to get this partially working, but ran into some issues. Settings were located here in the product category edit page: http://cld.wthms.co/1d8He/2jrcaIfL
Issues occur:
I'll be revisiting this later. If you would like to give it a shot, let me know and I will send you my progress up-to-date.
WooCommerce allows for making fees taxable under a certain tax class: https://github.com/woothemes/woocommerce/blob/df75d2f617dc37c5c2c172bdce3a2fd152017499/includes/class-wc-cart.php#L1917
Should add in a filter to enable taxes and define a tax class for fees.
Numbers like 0,13 don't show up in the cart. A fix for this has been posted here: https://wordpress.org/support/topic/not-work-with-0000xxx-product-fees/
Any chance to add this fix to the project?
Hi I may have missed it, but is there a way to bulk edit the product fees for items that have been set via this plugin?
sorry if this is already implemented and I have missed it.
Thanks
Paddy
Hello,
I'm a french freelance and first of all thank you very much for your plug-in !
I installed the plug-in on a wordpress site and I have a problem.
The site in pogress sells goods in consignment. Also, the plugin is used to enter a fee-consignment per product added to the cart.
For example a milk bottle, it is 0.50€ euro deposit.
The total does not take into account the amount of 0.5, is it too small?
How i can cure it ?
Thanks a lot
Julien
Hey there,
I have a multivendor marketplace website, and I wanted to see if there are any ready-to-use shortcodes to implement on front-end product templates.
Thanks!
Currently the plugin reads all fees as just a number with no base currency. If I were to change the base to KRW (South Korean Won), the fees would just adopt the new currency symbol with no change in value.
It would be great for the plugin to recognize the base value of the store currency and use it against wcml. Naturally, WCML would understand that the base, was ie USD, and convert it to KRW; providing the proper symbol and price.
WCML --> WooCommerce Multilingual via https://wpml.org/documentation/related-projects/woocommerce-multilingual/
Hello, thank you for your nice plugin!
I have the following usecase:
The fee should be added first to the product price, then the shipping should be calculated.
Product price: 46 €
Fee: 3,99 €
Shipping: Free if the order value is equal or greater than 49,99 €, 2,99 € below.
I want that the user gets free shipping (because of the fee). Currently he has to pay 2,99 € for shipping.
Can you implement this (maybe as optional feature)?
Best regards
Very good plugin but I have a problem.
I use it to set up a deposit (for equipment rental) and I would not want the price to be included in the total of the basket. I just want the fee amount to appear as an indication. How to see the amount of fees (under the rate card for example) but that this amount is not calculated in the basket?
Thank you for your help
It looks like in the code that subscriptions will work, from what I can see.
But I get ZERO fee added to the subscription total.
It is in the "meta" for the subscription. But I cannot see any fee applied to the actual total.
Any thoughts on this?
On the WooCommerce cart page, when you update the quantity of an item, the Product Fee does NOT recalculate. For example, I'm selling a $20 ticket with a 10% Product Fee, and the customer adds 2 tickets to their cart. When you initially get to the cart page, it correctly displays a subtotal of $40 and a Product Fee of $4. But when the quantity is increased to 3, the updated cart page shows a correct subtotal of $60, but the Product Fee stays at $4. Conversely, if decreased to 1, the subtotal is adjusted to $20, but the Product Fee again stays a $4.
This is a fatal flaw as it allows the customer to add one ticket, then on the cart page, they can circumvent the Product Fee on additional tickets. Please fix. I'd like to use this plugin, but I cannot recommend it to my clients until this is resolved.
Hello Sr.
First: Thanks for your great plugin WooCommerce Product Fees. I'm start to work in a small travel agency and your plugin is great because all travels have different tax/fees (is not fixed or percent).. so your plugin is great.
I'm a designer and i don't know a lot of woocommerce. I would like to ask you if can help me for show the custom fees i load with your plugin, not only in the checkout, also in the product page.
Thanks for your time and sorry for my bad English. Regards from Argentina.
Also i send you an email. Thanks again.
PD: I practically use variable products
Is there a way we could set a default product fee in the settings to be applied if none exists on the product level?
I'm using a bulk editing plugin and I was wondering what the custom fields are for the product fee name and amount? I tried searching though the code and found product_fee_name[1317] might have the numbers wrong here but I tried to use that and it couldn't find anything.
Hello,
I'm looking for a solution to manage the Eco Participation Taxe.
It's a taxe only used in France (I guess).
It's a fix amount for each product (furniture).
This plugin could solve my problem if I could limit these taxe for France only.
Thank you
Im working on an app and the checkout page does not fetch/show the additional amount. how does on build an API for it? But again, thank you for the great plugin.
Could you make this work fully under WooCommerce subscriptions? If you edit your subscription, the fees do not get applied. So say you add a new item. Old item fee is applied. New item(s) fees are not applied to total.
This plugin doesn't play nicely with the Chained Products plugin. Basically, when you add a product fee, and the plugin bundles the product in, it adds the fee even though it's bundled.
I fixed this on my own end by adding a checkbox option, and I added an if statement to check for the existence of the Chained product IDs, and if it's not empty, and the box is checked, the fee gets ignored.
I don't know if anyone else even wants this code, but I might upload a forked version with this code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.