- Support forum for the WooCommerce Cost of Goods: Product Cost & Profit Calculator.
- This topic has 16 replies, 3 voices, and was last updated 2 years, 8 months ago by Pablo.
- AuthorPosts
- March 10, 2022 at 4:12 pm #89937Carlo SempliciParticipant
Hi there,
when I add Item handling fees in Orders > Admin Order Edit > it will calculated only once, even if there is 3 items in one. how do I can make it calculate this fixed number per items in the order?March 11, 2022 at 8:03 am #89938ZohaibParticipantHi Ida,
There are 2 options for handling fees in the plugin’s setting.
1. Orders > Admin order edit > Item handling fees if you enable this option, if an order has multiple products you can add handling fees for each product when you edit the order.
2. Order > Extra Costs: Per Order > Handling fees if you enable this, the you will get a new meta box in the order edit page and you can add the handling fees for the whole order here.
March 11, 2022 at 8:13 am #89939Carlo SempliciParticipantHi, Thanks I saw it. but I want to put default value for Item handling fee per item.
exactly like method one. but not fill the value every time.
like a fixed fee that added automatically per item each time.March 11, 2022 at 8:22 am #89940ZohaibParticipantHi,
Unfortunately, it is not possible to add a fixed handling fee per item to all orders. You can use the option under Orders > Extra Costs: All Orders and set a Fixed cost or Percent cost. But again this would be per order and not per item.
March 11, 2022 at 8:53 am #89941Carlo SempliciParticipantThanks. we can add it to product cost then.
my last question is about paypal fee meta.
as you know recently paypal plugin for woocommerce is changed to this and for this plugin I can not find the proper meta key for paypal fee. I used these two
_PayPal_Transaction_Fee
_ppcp_paypal_feesbut seems not working.
March 14, 2022 at 2:42 pm #89942Hi Ida,
I found out the Paypal fee is being saved with the meta
_ppcp_paypal_fees
as you pointed out but not as a simple string. It is being saved in the array form.So I improved the Orders > Extra Costs: From Meta option for you. Previously it was only possible to access an order meta if there was a string returning from it. Now it’s possible to access a serialized array too using dots.
Then you can access the Paypal fee using this:
_ppcp_paypal_fees.paypal_fee.value
I’ve improved the option description as well. You can find this tip over there too.
Please update the plugin to version 2.5.3 I just released and let me know if it works 😉
March 14, 2022 at 2:52 pm #89943Carlo SempliciParticipantyes. it is fixed now.
Thanks a lot for your support.March 14, 2022 at 6:16 pm #89944March 16, 2022 at 10:39 am #89945Carlo SempliciParticipantsure. absolutely I will do that.
also there is still a little bug. those changes that you made for new paypal. it does not effect on new orders. and I have to do bulk recalculate every-time to meta fee added to new orders. which stripe for example is not like that.March 17, 2022 at 1:12 am #89946Ok,
I’ll take a look.
March 24, 2022 at 11:21 am #89947Carlo SempliciParticipantHi dear, Any update on this?
paypal meta fee after those changes only added every time I do bulk calculated all orders. for new orders not coming automatically like stripe.March 25, 2022 at 2:35 pm #89948Hi Sina,
Sorry for the delay. I’ll give you a feedback about it at the end of the day.
March 25, 2022 at 2:48 pm #89949Please try to enable the “Advanced > Force costs update” options and let me know if it helps.
March 28, 2022 at 9:57 am #89950Carlo SempliciParticipantI did it on but it did not change anything.
March 29, 2022 at 6:19 pm #89951Hi again Sina,
Please try to enable a new option I’ve created for you on version 2.5.4 I just released:
– Advanced > Force costs update > Auto fill empty order items costs on order meta updateLet me know if it helps 😉
- AuthorPosts
- You must be logged in to reply to this topic.