Home › Forums › WC Vendors Pro Support › Variable product shipping fee shows "0"
NOTICE: We've Moved to a Ticket System for Support
As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system. This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.
For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.
If you are a WC Vendors Pro customer please open a support ticket here. If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.
The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.
Thank you to all of our customers!
- This topic has 33 replies, 5 voices, and was last updated 6 years, 5 months ago by
Anna.
-
AuthorPosts
-
May 30, 2017 at 2:53 am #66750
Yasa
ParticipantHi,
Variable product’s shipping fee is showing “$0” even there is shipping fee in general settings. It charges on checkout page but on vendor dashboard and wc reports shows as zero “0”.That is pretty messed up.
May 31, 2017 at 11:08 pm #66852Anna
Member@canyasa
I just tested with a variable product, with flat rate Vendor Shipping.
– shipping shows properly on the pro dashboard.
– shows properly on the product page tab (viewed by the customer)
– after a test transaction.. at checkout and on order receipt.. shipping is calculated properly and shows properly in both the customer view (order receipt), the admin view(woocommerce > commissions) and in the vendor view (pro dashboard > orders > order details)Am I missing on of the areas where you are seeing the “$0” shipping for a variable product or misunderstanding your question?
June 1, 2017 at 12:19 am #66861Yasa
ParticipantWith this vendor account I only have one variable product one is $80 and other is $120.50. On vendor dashboard, product price shows same for all variable products sold and shipping (On screen shots shipping means “Kargo”) shows $0
Shipping price is $8 in store shipping settings so there isn’t any override on product shipping.
Here is that product’s link: https://www.birtaneler.com/urunler/ahsap-ve-mobilya/ayna/
June 1, 2017 at 12:25 am #66867Yasa
ParticipantHere are the wp reports screenshots that shows shipping “Kargo” as $0
June 1, 2017 at 12:56 pm #66958Anna
MemberStrange.. it is only for this one product? If you list another test variable product, does this occur?
This is Vendor Shipping being used (not a WooCommerce method of shipping)?
Does this vendor have store address entered? Any other products by the vendor that have incorrect shipping values?June 2, 2017 at 10:49 am #67051Yasa
ParticipantI just created a new vendor and happened the same thing, no shipping fee.
– Yes Vendor Shipping used
– Yes Vendor has a store address
– I also tested simple product with same vendor, simple product fees showing correctly. Variable product’s shipping fee is not showing.June 2, 2017 at 11:23 am #67053Yasa
ParticipantIt also shows 0 in wp_pv_commission table.
P.s. I was planning to go live next week :/
June 2, 2017 at 5:18 pm #67103Anna
Member@canyasa
I am looking into this; I have not yet been able to recreate it on our dev sites but I will see if I can isolate why this may be occurring so we can fix it if there is a problem in the code.June 2, 2017 at 9:46 pm #67147Yasa
ParticipantAny news?
June 3, 2017 at 1:42 am #67156Yasa
ParticipantJune 3, 2017 at 11:48 am #67174Anna
Member@canyasa
I forgot that we had worked on that modification — if you revert, does it prevent the shipping issue with variable products?
I don’t see why this would affect the shipping being applied properly.. but it is worth a try to see if this is the source of the issue.June 3, 2017 at 5:56 pm #67184June 3, 2017 at 7:07 pm #67187Yasa
ParticipantWoocommerce: 3.0.7
Wc Vendors Free: 1.9.11
Wc Vendors Pro: 1.4.3June 5, 2017 at 12:45 am #67239Anna
Member@canyasa
OK- thank you.
I did not think it was due to that code snip.I am doing testing on this; and though I have not been able to recreate this if the standard/default store rate is used for shipping, there seems to be a bug when a product override is used for a variable product. You mentioned above that this is not properly pulling the default store rate, though, for this product.
I will be submitting an issue to Jamie and including your post as well as another user’s post regarding shipping int he issue however, I am not 100% certain they are related.
Obviously there is something happening with the variable shipping still, but I am still working to isolate the issue or issues that are occurring. With Jamie working on the issue as well we should be able to locate what is occurring.
WooCommerce changed the way variables are referenced in the WC 3.0 update, so it has been difficult to narrow down all of the instances that needed adjustment for that update. *sigh*!June 5, 2017 at 10:02 am #67264Yasa
ParticipantVariable product’s shipping charges on checkout but it doesn’t show on reports(wp_pv_commission).
June 8, 2017 at 8:26 pm #67614Yasa
ParticipantHi,
Any news about this? Do you have a date for the next update?
June 9, 2017 at 12:24 am #67624Yasa
Participant*Update*
I deleted wcvendors plugins and re-installed. Result is still same, variable product’s shipping still shows “0” on admin reports, vendor dashboard, vendor email, wp_pv_commission.
Can I have some support instead information?
June 9, 2017 at 8:04 am #67639Jamie
KeymasterHi Yasa,
You are getting support. Being transparent with our users and communicating with you what is wrong is part of that. It’s not just just a quick fix. There are a few bugs that I’m currently working on that will be included in the 1.4.4 release. I’m pretty sure I have fixed this variation shipping issue in the soon to be released version. I’ll double check in the morning and report back.
We do not provide release dates for our products as there are too many variables to control when we can release an update. To give you an example, 1.4.4 was about to be released when 3 shipping bugs were reported in quick succession. This has held up the release until they can be resolved. We don’t rush out releases unless it’s a critical break all bug that needs to be fixed.
cheers,
Jamie.
June 12, 2017 at 12:45 am #67816Yasa
ParticipantThanks for the clarification @digitalchild
It has been almost 2 months since the last update but new one occurs more errors than before. And I couldn’t use your product for 6 months and still counting. It might related with woocommerce’s new version but how are you going to compensate my loss? Cause I didn’t pay to woocommerce, I paid for wc vendors pro. So when could we get a working version of this product?
At least you can release a patch maybe?
Thank you.
June 12, 2017 at 1:25 am #67819WC Vendors Support
ParticipantBe polite. Snarkyness is met with a tack hammer to the face.
June 12, 2017 at 1:37 am #67821Yasa
ParticipantI am telling the truth. I’m not the one whos being snarky I’m the polite one. Can you deny what I said above? Anyway I have an error (variable product’s shipping fee) with my plugin and trying to use it before my license expired.
Thank you.
June 13, 2017 at 2:33 am #67900Yasa
ParticipantI’ll double check in the morning and report back.
Anything came up?
June 13, 2017 at 5:07 pm #67998Yasa
Participant*Update
I also tested by setting specific shipping fee for variable product(override), still no luck.
June 13, 2017 at 10:45 pm #68018June 13, 2017 at 11:11 pm #68022Yasa
ParticipantOk, I’ll stop bugging and posting but you guys should aware of that I didn’t get support, instead waiting for a working release like free plugins which I paid for it. Support & Purchase Policy says “Your license is for 12 months, which includes support and updates.” (I know that policy doesnt mean anything to you but you guys refer it too sometimes.)
I hope you’ll release it asap, good luck.
June 13, 2017 at 11:28 pm #68024Anna
Member@canyasa
Hello Yasa,
When we have an update for this issue we will notify you.
In the meantime, support is being provided as I reply to your posts, have assisted you with a lot of various support requests you have made including custom development, and also we are working to resolve any issues and provide updates with needed fixes and improvements to our plugins.Thank you.
June 13, 2017 at 11:39 pm #68027Yasa
ParticipantYes thank you for all your help @Fervous but it has been 6 months that I couldn’t make my site work without error’s, this is why.
June 16, 2017 at 3:00 am #68305Yasa
ParticipantHi,
I’ve spent last 2 days to fix this issue but couldn’t find (didn’t want to break more) the solution. @digitalchild mentioned “I’m pretty sure I have fixed this variation shipping issue in the soon to be released version.” At least you can tell me is it related with the free version or the paid version (I see some fixes on github recently) ? Could you provide me the code to fix it?I don’t get why (how) I am the only one who is having this issue, I am not using any other plugin would effect woocommerce or wcvendors.
June 20, 2017 at 10:56 am #68562Yasa
ParticipantHere is my debug log, now you can help me I guess;
[20-Jun-2017 14:41:37 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 346 [20-Jun-2017 14:41:37 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 377 [20-Jun-2017 14:41:37 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 378 [20-Jun-2017 14:41:40 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 346 [20-Jun-2017 14:41:40 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 377 [20-Jun-2017 14:41:40 UTC] PHP Warning: A non-numeric value encountered in /wp-content/plugins/wc-vendors-pro/admin/class-wcvendors-pro-shipping.php on line 378
[20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7147 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7146 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7147 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7121 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7120 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7146 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7120 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7158 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7146 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126 [20-Jun-2017 14:42:32 UTC] PHP Notice: Undefined offset: 7121 in /wp-content/plugins/wc-vendors-pro/templates/dashboard/order/order_details.php on line 126
[20-Jun-2017 14:40:34 UTC] The The "add_to_cart_fragments" hook uses out of date data structures and function is deprecated since version 3.0.8. Replace with woocommerce_add_to_cart_fragments.
June 20, 2017 at 11:06 am #68565Yasa
ParticipantMy php version is 7.1.6 probably this is why you couldn’t re-produce that error on your side, here is an explanation;
https://stackoverflow.com/questions/42044127/warning-a-non-numeric-value-encountered
It seems that in PHP 7.1, a Warning will be emitted if a non-numeric value is encountered. See this link. Here is the relevant portion that pertains to the Warning notice you are getting: New E_WARNING and E_NOTICE errors have been introduced when invalid strings are coerced using operators expecting numbers or their assignment equivalents. An E_NOTICE is emitted when the string begins with a numeric value but contains trailing non-numeric characters, and an E_WARNING is emitted when the string does not contain a numeric value. I'm guessing either $item['quantity'] or $product['price'] does not contain a numeric value, so make sure that they do before trying to multiply them. Maybe use some sort of conditional before calculating the $sub_total, like so:
<?php if (is_numeric($item['quantity']) && is_numeric($product['price'])) { $sub_total += ($item['quantity'] * $product['price']); } else { // do some error handling... }
July 3, 2017 at 6:57 am #69358Brian
ParticipantI am having the same problem.
Is there any news on a fix?July 3, 2017 at 10:47 am #69369July 3, 2017 at 10:48 am #69370Brian
ParticipantI also upgraded to 1.4.4 and seems to solve the issue also. Thank you.
July 3, 2017 at 6:12 pm #69396Anna
MemberOk- good to know this has been resolved. Thank you!
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.