• Resolved stoelwinder

    (@stoelwinder)


    Love that you made a Table Rate Shipping Module thats not $199 for me to get my basic Shipping functions set up. I configured it and everything seems to be working the way I want it to, but I noticed one minor oddity: Say the maximum value for my Shipping method is $1000 at a charge of $50 shipping, if the order is $1001, it reflects as FREE Shipping.. How do I prevent it from showing up when the maximum value is exceeded? I tried looking at your code but couldnt figure it out (newbie on WordPress Plugins here)

    http://wordpress.org/plugins/woocommerce-table-rates/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Ronin

    (@rpletcher)

    Glad that you like the Plugin. I have been working on adding a fix to prevent this. For the time being while I work on this fix I just recommend setting the max value to a very large number. On a site that I have been working on I set the max value to $1,000,000. This way it will make your orders of $1000 and $1001 all be $50 in shipping. I will post again when I get this fixed.

    Plugin Author Ronin

    (@rpletcher)

    I believe that I have resolved the issue. It is now set so that if your order size is larger than the greatest max value in the table it will keep the largest shipping cost.

    Thread Starter stoelwinder

    (@stoelwinder)

    Let me give this a try tomorrow! By the way, I modify your script slightly to allow for measuring by weight (I use $woocommerce->cart->cart_contents_weight; instead of $woocommerce->cart->cart_contents_total;). Any chance you could offer this as an option in the settings? That would be a great help!

    Also, you mentioned that you use the greatest max value in the table as the largest shipping cost. Any chance this could be configured to “disable” the plugin above a certain weight as well? Or is the eligibility check done elsewhere in Woocommerce and cant be controlled from the plugin?

    Thanks again for the excellent support! Really loving your work! 🙂

    Plugin Author Ronin

    (@rpletcher)

    Glad that it is working for you. I will look into what it would take to extending the functionality.

    Thread Starter stoelwinder

    (@stoelwinder)

    Hey, I’ve done some initial testing, but the new code seems to /always/ return the highest value. Just did a test of a product with a value of $34.90 and created 2 entries:

    $0-$40: $2
    $40-$80: $4

    With a product of $34.90 it gives $4 as the shipping rate.

    Thread Starter stoelwinder

    (@stoelwinder)

    By the way, if I would like to use your table-rate plugin twice (one for standard shipping, one for courier), how would I best go about doing that? Do I just make a copy of the file and put it in the plugins folder, or do I need to manually edit the entire file and change all references for table_rate to courier_table_rate? 😛

    Thread Starter stoelwinder

    (@stoelwinder)

    Hi Ryan,

    Just updated to 1.1.5 and that fixed the problem. Thanks for responding so quickly! 🙂

    Plugin Author Ronin

    (@rpletcher)

    Glad its working for you.

    Just installed this plugin. I want to offer a flat rate on all orders under $28.50. I set my min price as 0.00 and my max at $28.50. This shows up under shipping option even on orders OVER the max price. Suggestions?

    Plugin Author Ronin

    (@rpletcher)

    Try adding another rate that goes from $28.50 to $1000000.00 and set the price to something else. If you want to offer free shipping you can set it to $0. What are you wanting to set it to?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Charges when Maximum is exceeded becomes FREE’ is closed to new replies.