Home Forums WC Vendors Pro Support Fixed product discount coupons and free shipping order/product are not working

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 39 posts - 1 through 39 (of 39 total)
  • Author
    Posts
  • #69776
    Stefan Bolboceanu
    Participant

    Hello Support,
    I am planning to launch my website by the end of this month and I need your help to resolve these issues:

    1. Coupons
    -When creating a fixed product discount coupon (e.g $2 off), the coupon code will deduct whole amount of my basket (excluding the shipping fee) (e.g. if the basket subtotal is $10, the coupon will cancel $10, not $2)
    -When using a percentage discount coupon, it’s working perfect.
    I’ve read a post from Anna saying it was an issue with the fixed coupons, applying the discount for each product (when purchasing from the same vendor) not for the total amount of basket. As you can see, I am not having this issue. The fixed coupon is cancelling the total value of my basket…

    2. In Vendor Dasboard/Settings/Shipping the Free shipping order and Free shipping product threshold are not working at all.
    Every time I am trying to test this as a customer, if I am going over the threshold set for Free shipping order / Free shipping product, I still have the delivery fee (is not canceled). I heard that other users have the same issues.
    I tried to edit this from backend as admin, but couldn’t find these options in Wp-admin/users/edit user. Can you please advise where I can find these settings in Admin Panel?

    To keep this conversation short, I would like to explain which custom work we did on our website:

    1. we’ve had a local pickup option for Vendors who didn’t want to ship their products. This was a custom woocommerce shipping method which I added using some code, but it is very basic and has no options and is basically just a “free shipping” option. (Local pickup will put 0 as shipping costs and the vendor will see that the product doesn’t have to be delivered but rather collected in the store).
    In any case we have deactivated it and it didn’t solve the problem

    2. We did a number of customizations on our website but they are mostly just additional fields for products and store (and hide some options that we didn’t need, like the downloadable products), and the fact that the international shipping is not visible in the dashboard. For that I used some code from this forum in order to hide these options, and it was only something which won’t print out the html of the fields. I mean that the code is not touching any logic behind and related to the international shipping. It is just not displaying the fields.
    3 Then other customizations are related to the checkout validation, because we’ve added a field for the preferred delivery date, and the code will ensure that the product “minimum notice days” (a custom field in products that allows the sellers to require a number of days notice until they’ll make the product) allows for the selected delivery date. This is hooking wc validation and if failing it will trigger a wc checkout validation error and add it to the list of errors (like when you don’t check the “accept terms&conditions”).
    For my understanding, none of the above nor other customisations that I made are touching the logic which calculate the price.

    I hope these information will help and give some hints to locate the cause of the problem.
    Please let me know if you need to know anything else.

    Regards
    Stefan

    #70150
    Anna
    Member

    Hello,
    1. I am not certain why this is not calculating properly on your site. Has this been tested with only Wc Vendors, WC Vendors Pro and WooCommerce active (all other plugins disabled; also the latest versions of each of these three plugins)? On my testing sites, the discount is taken per product. Each product.

    2. The shipping will only calculate properly if ONLY vendor shipping is used. If any other shipping method is used, then the max. min, and free shipping will not properly calculate.

    It does not sound like your customization would affect the Vendor Shipping.. have you tested any of these functions without your custom code added to the site?

    #70156
    Stefan Bolboceanu
    Participant

    Anna,

    Thanks for your reply. I checked this post everyday… I’ll test the website the way you suggested, and let you know as soon as possible. Please keep an eye here
    I hope we will fix these issues with your help and support.

    Thanks again.
    Stefan

    #70343
    Stefan Bolboceanu
    Participant

    Hi Anna ( @fervous ),

    I made a backup and then deactivated all the plugins apart of the ones that would break the site if I deactivate them. though, this means that in addition to woocommerce and wc vendors (I have also updated those), I had to keep buddypress (and a couple of its extensions), visual composer, wp mail SMTP, coming soon plugin.
    The result: I AM HAVING EXACTLY THE SAME ISSUES AS BEFORE. Nothing has changed :((

    I obviously had to keep also wcvendors stripe module, and the marketplace plugin which is needed to integrate buddyboss with wcvendors (and which honestly could be the first candidate to be the culprit of the conflict… What do you think?).
    If I deactivate the other plugins it will likely just break or be impossible to navigate…

    If you want me to do something extra apart of what I already did, please let me know. If you want to have a look on the website now, please let me know as I deactivated the role-manager plugin and I will have to reactivate it before you login.
    I will appreciate if you guys can help me with this as I am about to launch the website and to be honest…I got tired with these issues. I’ve seen on the forum other users having similar issues, so it’s not an isolated incident, but seems like we (the users) are doing something wrong. Or…the bug is somewhere there and nobody can see it…

    Thanks
    Stefan

    #70345
    Anna
    Member

    @cakecompare
    Stefan,
    Yes- please private reply with an admin login and password and I will try some testing on your site using the WC Vendors test gateway (since you are not live yet).

    #70355
    Anna
    Member

    @cakecompare
    Ok I will login and do some testing.
    I know my replies have not been too prompt lately. I sincerely apologize.
    I will let you know if I can find anything to isolate this issue(s) on your site and if I need further information.

    #70357
    Anna
    Member

    @cakecompare
    can you allow access to the site for a vendor role– or at least for my vendor annawcv so that I can run some test transactions?
    You have the “coming soon” message right now so I cannot test the various shipping and coupon settings via the vendor pro dashboard. 😉

    #70358
    Stefan Bolboceanu
    Participant

    Anna,

    I understand how hard is it to cope with such a big volume of users. I can see your plugin is becoming more popular by the amount of notifications I receive on my email every time someone is posting on the forum. I am working on this website for almost an year and I must say at the beginning your support was great. Lately…was a bit slow indeed and I bet you guys have some reasons there, but 95% of your users don’t understand this. Especially that guy Andy Capa who was shouting today: Warning: Terrible Support…(not good for the business though)
    I still think you are doing a good job. What I will improve: If you’re overloaded or the task is taking too long I will send a reply to my user saying: Dear user, Due to the complexity of this task we will get back to you in X days. Please bare with us and we’ll get back to you.” Better than not replying at all (my opinion). But…this is just my suggestion. You have your own company policies and you know better your priorities.

    I hope you’ll come back with good news for us.

    Thanks
    Stefan
    p.s: Apologise accepted! 🙂

    #70362
    Anna
    Member

    @cakecompare
    Thanks for your input- I appreciate it. Good communication is very important, and I know what it is like to be left in the dark, so I do understand the frustration.
    The Andy guy has been upset for a while about another issue– so— yeah.

    Can you take a look at my last reply? I would like to set up a vendor and test– could you allow access for that vendor, please? 🙂

    I will do what I can to try and find what is going on with your site– not sure if I can sort it out, but if I cannot, I will see if our lead developer has any ideas.

    #70363
    Anna
    Member

    Ok- got it. I think we are replying at the same time, so you can ignore my last request.

    #70364
    Anna
    Member

    Yes- you can go to bed now, and I will do some testing tonight to see if I can sort out what the issue may be. thank you!

    #70365
    Stefan Bolboceanu
    Participant

    Anna,
    Not sure if these messages are a bit delayed…I allowed you vendor access and also sent the credentials for other vendor before.
    Can you please confirm if you have the access you need?

    Stefan

    #70366
    Stefan Bolboceanu
    Participant

    Great!
    Thanks!

    #70378
    Anna
    Member

    @cakecompare
    Before I had even set a shipping value for my vendor, this was in the field (£5.00 ), along with added instructions. I am guessing it is just a placeholder… BUT.. you actually have the admin settings as £10. So you may wish to update one of those, either the instructions or the rate. 😉

    Unfortunately I could not add a few test products as a vendor using the front-end forms because the fields for the product add/edit form are not working.
    This is a bug in the theme you are using; please contact BuddyBoss and see if they have a fix yet for this issue.

    I did add two test products from admin and assigned them to my vendor (test and test1).
    As a vendor, I entered 5 for the national rate. I entered 5 for max rate order, 5 for min rate order, and 10 for free shipping order rate.

    I also created a coupon for £1 off

    I ran three tests.
    1. I ordered 3 of “test”. This put my over the free shipping order threshold of £10. The free shipping was applied as expected.
    2. I ordered 1 “test1”. £5 national(home delivery) shipping was applied. Total was correct.
    3. I ordered 3 “test” . I added the coupon code 1off for £1 off a product. This total also put me over the free shipping threshold. £1 off was correctly applied to each of the three products, giving me £3 off of the order. Free shipping was also correctly applied.

    So…. in my testing on your site, all shipping and discounts were applied as expected, and correctly.
    If I am missing a setting — let me know. Otherwise… all looks good from this end.

    After I concluded my testing, I disabled the WC Vendors testing gateway and I set my test products to “draft”.

    #70498
    Anna
    Member

    @cakecompare
    Ok- sounds like at least we are getting there. 😉
    Were these vendors- the old ones that are not working properly- part of the sample/demo install with the theme?

    #70500
    Anna
    Member

    IMPORTANT QUESTION:
    I can’t see these new options in wp-admin/Users/Vendor name/Shipping :
    -free shipping order
    -free shipping product
    Am I missing something here? Are these options somewhere else in backend?

    The user screen does not yet have these options- I added an issue for this a few weeks ago, and hopefully this will be available in one of our next updates so that admin can adjust these settings on the admin user screen.

    #70520
    Stefan Bolboceanu
    Participant

    Hi Anna,

    These vendors were created by me for testing purposes. They weren’t the ones part of the demo install with the theme. I created the last vendor profile about two-three months ago.
    Let me know if you double checked if it’s something wrong with the old vendors profile. Maybe you can identify the bug (if exists). If you did, I will reactivate the plugins, add the lines of custom code back and test again. If everything goes well…we can launch the website 🙂

    Thanks
    Stefan

    #70532
    Stefan Bolboceanu
    Participant

    Hi Anna,

    I tested a bit the free shipping threshold buying the products only from the new vendors’ stores and seems to work fine.
    I came across the same issue as Kristina posted here: https://www.wcvendors.com/help/topic/problem-with-update-1-4-4/?no_frame=1
    I replied to that post today saying I am interested to see how you can fix this as I’ve had the same problem last night, but I was thinking is because of deactivated the plugins. Well…Is not the case. I have exactly the same issue like her when I go in vendor dashboard in frontend and try to add a product. Please use the Vendor profile you created (Annawcv) and see if you can do something.
    I was so excited thinking my issues are resolved, but now another one appeared. Looks like I am not going to launch my website any soon…
    And I still have to add the custom code back and all the other stuffs..I hope nothing else will come up.
    I didn’t want to post this issue on Kristina’s post, thinking it might be quicker for you to test it here as you have all the login credentials, etc.

    Looking forward to hearing from you.

    Best,
    Stefan

    #70548
    Stefan Bolboceanu
    Participant

    Hi Anna,

    Please ignore my last message. I’ve just seen your post from last night above:

    “Unfortunately I could not add a few test products as a vendor using the front-end forms because the fields for the product add/edit form are not working.
    This is a bug in the theme you are using; please contact BuddyBoss and see if they have a fix yet for this issue.”

    I reactivated everything and added the custom code back and now I will test the site with the new vendors only. I can’t add products from frontend to test the site properly, but I’ll keep you updated. Please keep an eye here 🙂

    Thanks
    Stefan

    #70609
    Stefan Bolboceanu
    Participant

    Hi Anna – @fervous,

    After a long testing day, I managed to identify what causes the issue with the free delivery order (threshold). Please see below:

    The free shipping order (the shipping threshold) is not working when:

    1. Default national delivery (The default shipping fee within your country, this can be overridden on a per product basis. If no value is provided and neither is set to be free/disabled, it will default to the admin setting of £5.00) is left blank without an actual figure.
    If I am ordering below the threshold I am charged the default rate of £5. If the total order value is over the free shipping order threshold, the default shipping fee remains there.
    If I enter 5 in the Default national delivery tab (which is exactly the same as the default fee of £5) when the total order value is over the threshold , the shipping is free (is calculated in the right way)

    2. The “Charge once per product for national shipping, even if more than one is purchased.” is ticked.
    If the option is not ticked, the free shipping order is calculated in the right way.

    I’ve tested the website with both of the above activated in the same time and even with each one of them separately and the free shipping was still there after going over the threshold.
    I am very certain these are the cause of the issues!!!

    Just to let you know I removed the custom code before testing. In theory you should be able to replicate the issue on your dev site.

    Looking forward to hearing from you.

    Thanks
    Stefan

    #70620
    Anna
    Member

    Hello Stefan,
    Ok- Well you have certainly been able to provide some good information here- thank you.
    I will start testing and see if I can isolate the issues in the same way to come to the same conclusions. then I can assess how to report these issues for our lead developer to work with.
    Thank you again

    #70667
    Stefan Bolboceanu
    Participant

    Hi Anna,

    No problem at all! If this is something that affects everyone, I am happy to help :).
    Please keep me updated after you finish testing. If you have the same issues I would be interested to find out if it’s an easy fix for your lead developer. I hope it will be, otherwise we’ll have to hide those options until you find a solution for us.

    Thanks,
    Stefan

    #70766
    Stefan Bolboceanu
    Participant

    Hello Anna,

    I was wondering if you have any news for me regarding the above.

    On top of that, I found another issue that might be related or not. Please see the steps below:

    -I edit the vendor settings in front end
    -I used the admin user to buy some products from that vendor
    -the shipping threshold is calculating in the right way
    -I go in backend and tick the box for “charge once even…” for this specific vendor
    -In backend, the admin doesn’t have the options for “minimum shipping charged per order”, “maximum shipping charged per order” and “maximum shipping order” (you told me you’re looking to find a way to show this options for admin as well in your next update)
    -I press “update user” in backend
    -when I go in frontend (admin profile) and check the basket the shipping is still free for that specific vendor I just edited
    -I try to increase the number of products from that vendor and… SURPRISE: the shipping fee appears again (It shouldn’t as the value of the order is higher than the previous amount as it was an increase in product numbers)
    -logged out from admin account and login into this vendor account (in frontend)
    -SURPRISE again: the settings for “minimum shipping charged per order”, “maximum shipping charged per order” and “maximum shipping order” disappeared (the tabs are blank with 0 values)
    -I UNticked the option “charge once even…” (the option I ticked before in admin-panel), edited the shipping fields again, logged out from the vendor profile, login into the admin account and I can see in the admin’s basket the products from this specific vendor with free shipping.

    I am thinking is something to do with the fact that the admin doesn’t have this options in backend and it overrides the vendor settings in frontend and also changed to 0 value all the options that are missing in backend…

    I replicated the above several times with all vendors profiles I have…so in theory you should be able to replicate it on your dev site.

    Please let me know your thoughts about the previous and the current issue I found.

    Thanks
    Stefan
    P.S: If you need a part time tester and debugger for your plugin, you have my contacts 🙂

    #71855
    Stefan Bolboceanu
    Participant

    Hi Anna @fervous,

    After another two days of testing, I managed to find another bug.
    We hided the the “charge only once…” option using the code you recommended here:

    We actually hided this since long time, but having these issues with the free shipping option made us to deactivate the custom code and reactivate the code step by step to see which issue is causing the problem.
    Here is what I did after we hided the option:
    -checked all sellers profile in backend – the “charge only…” option was unticked for all of them.
    -logged in as one of the sellers and accessed dashboard/settings/shipping and just pressed save without changing anything 
    -went back to admin account and checked the shipping settings for this user in backend
    -SURPRISE: the “charge only once…” option was TICKED!!!
    Looks like when you save some shipping options in frontend when the “charge only once…” option is hidden, the “charge only once…” option activates automatically in backend.

    In theory, if the option is visible in frontend and you save the setting without doing any changes (like I did now) it should act in the same way as the option is just hided, not removed…
    But it doesn’t. When the option is visible in frontend everything works just fine.

    I am wondering, If I have to keep this option in frontend (until you fix the bug) can we change the text for “Charge once per product for national shipping, even if more than one is purchased” ? something like: deprecated or “do not tick this option or…something to make the users to don’t tick that box at all.
    What’s interesting is why the option is ticked in backend only for national shipping? For international shipping is unticked (and this option was hidden as well)

    Have a good evening.
    Best,
    Stefan       

    #71859
    Stefan Bolboceanu
    Participant

    @Fervous,

    For your reference, this is the code used to hide the “charge only once” (in product editor and in dashboard):

    // remove it from product edit form
    add_filter (‘wcv_product_shipping_fee_national_qty’, ‘bwd_hide_shipping_charge_once_option_product_form’);
    function bwd_hide_shipping_charge_once_option_product_form($args) {
        $args[ ‘type’ ] = ‘hidden’;
        $args[ ‘show_label’ ] = false;
        return $args;
    }
    // remove from general store settings
    add_filter (‘wcv_shipping_national_qty’, ‘bwd_hide_shipping_charge_once_option_store_settings’);
    function bwd_hide_shipping_charge_once_option_store_settings ($args) {
        $args[ ‘type’ ] = ‘hidden’;
        $args[ ‘show_label’ ] = false;
        return $args;
    }

    Please let me know your thoughts.

    Thanks
    Stefan

    #72559
    Stefan Bolboceanu
    Participant

    Hi Anna,

    I was wondering if you have any updates regarding my previous messages.

    Thanks
    Stefan

    #72770
    Stefan Bolboceanu
    Participant

    Anna @fervous ,

    Can you please send me an approximate time until I’ll get a reply from you regarding the above? A week, two weeks, a month, etc.? I normally have enough patience…but if we’re not communicating properly…I don’t know what to expect. Like this, I will not check this post every day and I can focus on finding a solution to those issues (not sure if I can without your help though).
    Looking forward to hearing from you.

    Stefan

    #72832
    Anna
    Member

    Stefan,
    I am unclear on what your last question was.. and what the issue is with the “charge only once” checkbox.
    You said you hid that option using php, correct?
    And when hidden, it is still applying? Is that the issue?
    I am sorry but I do not understand what you are trying to describe in your last posts. 🙁

    #72914
    Stefan Bolboceanu
    Participant

    Anna,

    You could’ve said this 10 days ago…Anyway, let me explain you in more details:

    ISSUE 1: The free shipping order (the shipping threshold) is not working AT ALL when:

    A. Default national delivery (The default shipping fee within your country, this can be overridden on a per product basis. IF NO VALUE IS PROVIDED AND NEITHER IS SET TO BE FREE, it will default to the admin setting of £5.00) is left BLANK (without an actual figure)-
    If I am ordering below the threshold I am charged the default rate of £5. If the total order value is over the free shipping order threshold, the default shipping fee remains there.
    If I enter 5 in the Default national delivery tab (which is exactly the same as the default fee of £5) when the total order value is over the threshold , the shipping is free (is calculated in the right way)

    IN A NUTSHELL: The free shipping order is not working when A VALUE IS NOT PROVIDED for DEFAULT NATIONAL DELIVERY (“IF NO VALUE IS PROVIDED AND NEITHER IS SET TO BE FREE, it will default to the admin setting of £5.00”

    B. The “Charge once per product for national shipping, even if more than one is purchased.” option IS TICKED.
    If the option is not ticked, the free shipping order is calculated in the right way.
    IN A NUTSHELL:
    IF THE BOX FOR “Charge once per product for national shipping, even if more than one is purchased.” IS TICKED, THE SYSTEM DOESN’T PICKUP THE “FREE SHIPPING ORDER” OPTION AND STILL CHARGES “ONCE”

    I’ve tested the website with both of the above activated in the same time and even with each one of them separately and the free shipping was still there after going over the threshold.

    2. FREE SHIPPING ORDER IS NOT WORKING WHEN “CHARGE ONCE PER PRODUCT….” IS HIDED IN FRONTEND.
    We hided the “charge once…” option using PHP (you can see the code above in my previous posts) long time ago, but having these issues with the free shipping option made us to deactivate the custom code and reactivate the code step by step to see which issue is causing the problem.
    Here is what I did after we hided the option:
    -checked all sellers profile in backend – the “charge once per product…” option was UNTICKED for all profiles
    -logged in as one of the sellers and accessed dashboard/settings/shipping and change the default national delivery fee (I can even save without changing anything)…THE MAIN IDEA IS TO SAVE THE SHIPPING SETTINGS IN FRONTEND
    -went back to admin account and checked the shipping settings for this user in backend (AFTER THE SELLER CHANGED THE SHIPPING SETTINGS IN DASHBOARD)
    -SURPRISE: the “charge only once…” option was TICKED IN BACKEND!!!

    IN A NUTSHELL: When you save some shipping options in frontend when the “charge once per product…” option is hidden, the “charge once per product…” option activates automatically in backend. Therefore…based on ISSUE B (above) the free shipping order is not working when the “Charge once per product even…” is TICKED.

    -In theory, if the option is visible in frontend and you save the shipping settings (with or without doing changes) it should act in the same way, as the option is HIDDEN, NOT REMOVED… But it doesn’t act the same. When the option IS NOT HIDDEN in frontend EVERYTHING WORKS FINE.
    -I am wondering, If I have to keep this option in frontend (until you fix the bug) can we change the text for “Charge once per product for national shipping, even if more than one is purchased” ? something like: deprecated or “do not tick this option or…something to make the users to don’t tick that box at all?
    -What’s interesting is why the option is ticked in backend only for national shipping? For international shipping is unticked (and this option was hidden as well)

    Anna, PLEASE!!! try to replicate these issues on your Dev site and let me know what’s the best thing to do. I would like to fix this ASAP and launch my website.

    Thanks
    Stefan
    P.S: If it’s still not clear…let me know straight away and I’ll explain again

    #73004
    Anna
    Member

    Stefan,
    OK- thank you for the details.
    This is clear now, and I will work on trying to replicate these points, and report any issues that I find in my testing.

    #73023
    Stefan Bolboceanu
    Participant

    Hi Anna,

    Thanks for getting back to me. Whatever your conclusion will be after testing, please let me know. At least I know what’s the best thing to do going forward.

    Thank you very much for your help and support!
    Stefan

    #73431
    Stefan Bolboceanu
    Participant

    Hi Ana,
    I hope you enjoyed the weekend. I just wanted to double check if you’ve had a chance to look into this. I would like to launch the website by the end of this month and not sure what’s the best thing to do until I don’t hear from you:
    -to fix those issues if you can provide a solution
    -to hide a few options or change their name until you can provide a viable solution.
    Either way, I need your help 🙁

    Thanks
    Stefan

    #73507
    Anna
    Member

    Stefan, @cakecompare
    OK- I think I am finally on the same page with you, and have a done a ton of testing.

    ISSUE 1:
    Ok- I think I finally see the root issue with the “charge only once” .
    If the vendor shipping is left blank so that it uses the default admin set rate, then only the admin settings will apply for the shipping.
    So, I have set $5 for the national rate in admin vendor shipping settings(default).
    The vendor does not set a rate.
    The vendor *does* set “charge only one..”.
    Admin does *not* have charge only once set.
    Result: admin rate is applied, but charge only once is not. The admin does not have charge only once set, and the shipping rate has defaulted to admin settings because vendor did not set a rate.
    If I go back and set admin “charge only once” as CHECKED, it is then applied to the blank vendor rate which has defaulted to the $5 admin rate.

    So- if the vendor does not set a shipping rate and it defaults to admin rates, then only the admin rules for the rest (charge only once, free per order, max per order, etc.) will work for the vendor. None of the other vendor settings for that location(national or international) will apply.

    Unfortunately, we have discovered bugs with the admin max, min, and free settings– they are not working properly. So those will have to be fixed for the default admin max/min/free settings to apply to the vendor rates if the vendor has not entered a value or default rate for their store. Jamie is actively working on this bug to find how to properly fix this so that the admin settings of these fields is working properly. The Charge Only Once (qty) *is* working properly in admin, though.

    Does this make sense?
    It took me a lot of testing to finally narrow down this correlation. 🙁

    Issue 2:
    Ok that is a weird one.
    I do not know why only the national option is defaulting to “ticked” in admin when it is hidden on the front end, or after shipping settings are selected or edited by a vendor.

    If I am understanding correctly, you want “CHARGE ONLY ONCE….” for national and international completely hidden from the vendor’s pro dashboard > settings > shipping…., correct?

    If so, please try this code in your child theme functions.php file. I have tested it- this seems to work properly to hide those fields from the vendor pro dashboard settings > shipping, and keep the value from showing in the admin or applying to the shipping at all. This disables and hides it, from what I can tell from my testing:
    https://gist.github.com/fervous/911250bf26f97fbd49e848f515721314

    Let me know if I have understood everything properly,and if the hidden qty/”charge only once” for the vendor dashboard solution works.

    For the admin max/min/free settings, Jamie is working on that and I will check in again soon to see what the progress is with that. I know he has run into some problems with trying to apply some fixes and he is working on the right solution.

    #77275
    Stefan Bolboceanu
    Participant

    Hi Anna,

    Thanks for getting back to me with such a detailed reply. Just a small update:
    I am still working on it, but I might not have good news. So far I’ve seen the same behaviour, but I still have to test a few “scenarios” to realise where is the issue. I’ll get back to you with a full report once I’m done. Sorry for the delay and thanks again for your support.

    Thanks
    Stefan

    #77276
    Anna
    Member

    @cakecompare
    Ok, Stefan- thank you.

    #77498
    Stefan Bolboceanu
    Participant

    Hi Anna @fervous,

    I finally managed to finish the testing (with the “charge only once…” hidden using the code you gave us). As I said in my previous message, the issue still persists. Please find a detailed report below:

    Issue 1 (what I did step by step)
    a. hided the charge only once option using your code
    b. double-checked the user profile in wp-admin and the charge only once…” option was *unticked*
    c. double-checked  the “charge only once…” option in Wp-admin/ Woocommerce/Settings/Delivery/Vendor Shipping and it was *unticked*
    d. login as a vendor (the profile you’ve created) and edit the delivery settings in dashboard/settings/delivery as follows:
    -default national delivery fee: £3.50 (I entered a value here as you suggested),
    -minimum shipping charged per order = 0 (I tried with 0 and also no value added),
    -maximum shipping charged per order = £5,
    -free shipping order = £15
    -saved the settings
    ***This vendor has two different products in his shop: A=£10 and B=£5
    e. checked again the vendor profile in wp-admin/users and the “charge only once…”option is ticked (before saving the settings from the vendor dashboard it wasn’t).
    f. added 1 x A product (£10) into the basket; the delivery is £3.50
    g. added 10 x A product (£100) into the basket; the delivery is still £3.50 (but it should be free as it’s over the free shipping order threshold of £15 the vendor setup previously in frontend)
    ***It looks like the system charges only once when you have only one product into the basket regardless the total value of the basket***
    h. added 1 x B product to the basket (alongside A); the delivery is going up to £5 (the value added for “maximum shipping charged per order”), BUT it supposed to be free because the total value is over the free shipping threshold of £15)

    CONCLUSIONS (when the charge only once option is hidden in frontend):
    A. the maximum shipping charged per order is working in a correct way
    B. the free shipping order is NOT working
    C. the “charge only once…” is working when more than one A product is added to the basket
    D. When adding a product B into the basket the delivery fee is equal with the maximum shipping charged per order (£5 instead of 2 x £3.5 which makes sense because the “maximum shipping charged per order” is working fine)
    IMPORTANT NOTE:
    In your previous message you asked me if I want the options “CHARGE ONLY ONCE…” completely hidden from Frontend. The short answer is “YES” I WOULD LIKE TO HIDE THESE OPTIONS (NOT TO REMOVE THEM)
    Am I understanding correctly, or you’ve done your testing for issue 1 WITHOUT the “charge only once…” option hidden. Is that correct?
    The only difference between the code we used before and the one you gave us is that your code is also forcing the value to be “no”, but the new code is acting in the same way.

    Let me give you a few more scenarios I did and I can’t explain the logic behind:

    scenario 2
    -default national delivery fee: £3.50 (same as before),
    -minimum shipping charged per order = 0 (same as before)
    -maximum shipping charged per order = £6 (previously £5)
    -free shipping order = £14 (previously £15)
    MAXIMUM PRODUCT CHARGE = 2 (no value added previously)
    FREE SHIPPING PRODUCT = 20 (no value added previously)
     *Add 10 X PRODUCT A into the basket (total value = £100)
    -the shipping fee is £2 (but it should be free as the free shipping product or free shipping order should override the “minimum product charge” option. ******AM I UNDERSTANDING CORRECTLY??
    -add 1 x product B to basket 9total value is now £105) and the free delivery!!!! VERY ODD…
    -reduce the basket to 1 x A and 1X B (TOTAL VALUE IS £15) and the system calculates free delivery!! Very odd!!!
    AS YOU CAN SEE, BY REDUCIG THE “FREE SHIPPING ORDER” AND INCREASING THE “MAXIMUM SHIPPING ORDER” BY £1 AND ADDING FIGURES FOR “MAXIMUM SHIPPING PRODUCT” AND “FREE SHIPPING PRODUCT” THE SYSTEM IS ACTING DIFFERENTLY (IN A CORRECT WAY, APPART OF THE SHIPPING FEE OF £2 WHEN ORDERING 10 X PRODUCT A)

    Conclusions and Questions:
    AA. free shipping order overrides free shipping product, but free shipping product is not working when only one product into basket
    Question: In theory, is the free shipping order overriding the free shipping product? If both settings have values entered, which one is picked by the system?

    -If “maximum product charge” and “free shipping product” are left blank(with no values), the “FREE SHIPPING ORDER” is not working with ONLY ONE PRODUCT in the basket (charges the default national shipping fee of 3.50) even if the value of the basket is over the “free shipping order” threshold. When adding another product from the same vendor in the basket the shipping is free.
    Conclusion: When having ONLY ONE PRODUCT in the basket, the system charges the “free shipping product” value entered in this tab or the “default national delivery fee”
    ****Question: When no values are provided for “maximum product charge” and “free shipping product”, does the system consider the “free shipping order” threshold? In theory…an order is an order regardless of how many products or how many types of product you have in your basket. AM I WRONG?

    -When the value for “maximum product charge” is higher than “default national shipping fee”, the system charges the default national shipping fee (because the option “charge ONLY ONCE…” is ticked in backend. ***IS THIS HOW IT SUPPOSED TO BE?
    CONCLUSION: WHEN ONLY ONE TYPE OF PRODUCT (EVEN IF MORE OF THE SAME ITEM ARE PURCHASED) IN THE BASKET, THE TOTAL VALUE OF THE BASKET DOESN’T CONSIDER ANY OF THE FREE SHIPPING THRESHOLDS

    -WHEN NO VALUES ARE ADDED FOR MAX SHIPPING ORDER OR FREE SHIPPING ORDER, WHEN ADDING A PRODUCT (OR MORE OF THE SAME) INTO THE BASKET IT CHARGES THE DEFAULT NATIONAL SHIPPING FEE (3.5). WHEN ADDING ANOTHER PRODUCT FROM THE SAME VENDOR, IT CHARGES TWICE OF THE NATIONAL DEFAULT FEE (£7) EVEN IF THE MAX PRODUCT CHARGE” IS SET TO 4.5.
    Conclusion: The “maximum product charge ” IS NOT WORKING when no values are provided in the MAX SHIPPING ORDER OR FREE SHIPPING ORDER tabs.

    I could’ve continued with this testing, but I got tired to be honest. It took me more than a week to test in order to send you a very accurate report. I just want to make this work and also to make you guys aware of all these issues in order to make this plugin the best out there. This is a fantastic product (that’s why I renewed my license today :)) and it has to get better with our help (your users/customers and your dev team). I know it’s a lot and I appreciate it will take you a bit to replicate all these scenarios, but if you can come back to me with a timeframe (by when I should expect a reply) would be great.

    Thanks
    Stefan
    P.S: Please don’t forget: Everything I did was with the “charge only once…” option HIDDEN
    P.P.S: I can send you a few print screens with a some of the scenarios I tested (just to sustain my report)

    #77504
    Anna
    Member

    Stefan,
    Wow- you rock!
    Ok- please allow me some time to thoroughly go over all of your post, and make sure I can follow each step and each point you have made.
    This info will definitely help us as we work with these issues, and I appreciate the time you have taken to do this testing and provide such a detailed write-up so we can look into your findings.

    I’ll return to this post int he morning and go over each step, and then reply.

    Thanks again! 🙂 I am confident we will be able to work out what is happening.

    #77545
    Stefan Bolboceanu
    Participant

    Sounds great!
    Thanks Anna!
    P.S: Something out of topic: I renewed my license yesterday. Do I need to update the new license on my site? My developer is in holiday and I don’t want to bother him for this 🙂

    #77552
    Anna
    Member

    Hello,
    Yeah- I am testing this all.

    For the license, as soon as possible, but if you are currently running v1.4.4 of Pro (the latest version) then you would only need to update the license before you want to update Pro.

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