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.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 34 posts - 1 through 34 (of 34 total)
  • Author
    Posts
  • #66750
    Yasa
    Participant

    Hi,
    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.

    #66852
    Anna
    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?

    #66861
    Yasa
    Participant

    With 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/

    #66867
    Yasa
    Participant

    Here are the wp reports screenshots that shows shipping “Kargo” as $0

    #66958
    Anna
    Member

    Strange.. 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?

    #67051
    Yasa
    Participant

    I 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.

    #67053
    Yasa
    Participant

    It also shows 0 in wp_pv_commission table.

    P.s. I was planning to go live next week :/

    #67103
    Anna
    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.

    #67147
    Yasa
    Participant

    Any news?

    #67156
    Yasa
    Participant

    Hi Anna,

    Do you think could it be related with this?

    #67174
    Anna
    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.

    #67184
    Yasa
    Participant

    Hi @fervous,
    I reverted to the original and its not related with that as you said.

    #67187
    Yasa
    Participant

    Woocommerce: 3.0.7
    Wc Vendors Free: 1.9.11
    Wc Vendors Pro: 1.4.3

    #67239
    Anna
    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*!

    #67264
    Yasa
    Participant

    Variable product’s shipping charges on checkout but it doesn’t show on reports(wp_pv_commission).

    #67614
    Yasa
    Participant

    Hi,

    Any news about this? Do you have a date for the next update?

    #67624
    Yasa
    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?

    #67639
    Jamie
    Keymaster

    Hi 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.

    #67816
    Yasa
    Participant

    Thanks 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.

    #67819
    WC Vendors Support
    Participant

    Be polite. Snarkyness is met with a tack hammer to the face.

    #67821
    Yasa
    Participant

    I 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.

    #67900
    Yasa
    Participant

    I’ll double check in the morning and report back.

    Anything came up?

    #67998
    Yasa
    Participant

    *Update

    I also tested by setting specific shipping fee for variable product(override), still no luck.

    #68018
    Anna
    Member

    @canyasa
    When we have an update we will notify you.
    Thank you.

    #68022
    Yasa
    Participant

    Ok, 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.

    #68024
    Anna
    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.

    #68027
    Yasa
    Participant

    Yes 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.

    #68305
    Yasa
    Participant

    Hi,
    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.

    #68562
    Yasa
    Participant

    Here 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.
    #68565
    Yasa
    Participant

    My 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...
    }
    #69358
    Brian
    Participant

    I am having the same problem.
    Is there any news on a fix?

    #69369
    Yasa
    Participant

    Hi @BRIAN-DD,
    I updated to 1.4.4 and that fixed the issue.

    #69370
    Brian
    Participant

    I also upgraded to 1.4.4 and seems to solve the issue also. Thank you.

    #69396
    Anna
    Member

    Ok- good to know this has been resolved. Thank you!

Viewing 34 posts - 1 through 34 (of 34 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.