Code

Discussion on Table Rate Shipping for WooCommerce

Discussion on Table Rate Shipping for WooCommerce

Cart 21,728 sales

bolderelements supports this item

Supported

This author's response time can be up to 2 business days.

4123 comments found.

Hi Erica, thanks for version 4.02 updates. However the version number is still listed as 4.01 in the latest update.

Thank you, Yes, I have updated it but unfortunately it still has to go through CodeCanyon’s review process. An update with the correct number will be available shortly, but you won’t receive an email about it since it is so minor.

What are the instructions to remove a country from being shipped to via “everywhere else”?

If you are using the WooCommerce zones you will want to create a zone for the countries you won’t ship to but do not add any shipping methods. This way they will qualify for a zone with no possible shipping options.

Is your plugin compatible with WooCommerce 3.0.5?

Yes, it is compatible and optimized to work with new features and coding standards introduced in 3.0.

Hi,

I would like to buy the plugin, I have some questions before.

Can I disable free shipping (with minimal expense) if a user enters coupons? If you place coupons, you can apply different shipping cost than the cost Basic?

Is it possible to link shipping expense to user typology?

Is this the right plugin? Or your other plugins?

Thanks

This plugin does not have any coupon conditions yet so you cannot set a specific rate based on coupon, but you can have the coupon affect the subtotal. By default the subtotal excludes taxes and coupons but there are settings in this shipping method to include them in the subtotal.

By use typology are you referring to WordPress’ user roles? If so, then absolutely yes. Each instance of this shipping method allows you to select specific roles that are eligible to see options at checkout.

I hope this information helps but if there is anything else I can help with, please ask.

The table I was to use is

5.75 per 30kg until you get to 150kgs then I need to add a further £0.50 until the weight gets to 250kg a further £1 until the weight gets to 500kg a further £1 until the weight gets to 1250kg

So the price for 150kgs is £34.50 up to 250kg £35 up tp 500kg £36 up to 1250kg £37

Sure, that should be possible with this shipping method! You can create as many rows as you need, each row having the weight range and applicable cost. The plugin can then compare the customer’s order to your weight ranges and determine which cost the customer qualifies for.

Presale question here :-)

We’re looking to implement shipping for a customer.

They’d like 4 shipping zones;

UK Europe World Zone 1 World Zone 2

Each of these zones has a shipping fee but the shipping fee incrementally decreases with the more you order.

For example 1 item shipped to Europe would cost £4.59 but two items would cost £8.02 and three items would cost £10.45.

Can your plugin handle this?

Thanks!

You can definitely enter various prices depending on the number of items in the cart. The only thing you can not do is setup a math equation that figures out the incremental difference. So you could set several rows with one condition and one cost per that would be “Quantity = X, Cost = $Y”. You can then repeat this for each of your zones (the Import/Export feature can help make this faster)

Hi, how can i import csv rates? Sample-Import.csv do nothing. Thanx!

If you are having trouble with the import feature, it’s possible you do not have the correct permissions or a high enough PHP version for this to work. Your account must have read/write access to the server, and your PHP version needs to be 5.6 or greater. I have tried the sample import file on the demo site and it was able to import the rows to the table.

PHP Version 7.0.15. Need specific write permissions for some folder? Thanx

Are you able to export? Usually that is where a problem with permissions occurs. I do have some other issues with the export feature, they simply don’t occur with the test file because this was evidently corrected already.

Pre-sale question:

I have few different carriers in my site. One of the ships depending on parcel weight only (it has some price ranges based on parcel weight). The other one ships based on dimensions only (as long as weight is 10kg or less, the price depends on size of parcel). And the last one calculates the price like this: M + (W*S), where M is fixed amount of money depending on area, W is weight, S is weight multiplier or the cost of 1kg. Can this plugin handle shipping for all 3 of these scenarios? I also want to define multiple shipping options for different counties. Thanks for answer.

Certainly, but you would have to apply them to each necessary row. I’m afraid there are settings that add a maximum for the entire table but it’s something I can consider in the future.

I have purchased the plugin from my other account. It works really nice. I have one question though. What condition should I set up to have a rule heigth+length+width<90cm? The volume is heigthlengthwidth, surface area is heigthlength or lengthwidth. What I need is the sum of all dimensions. It seems that nothing much left under conditions dropdown. I also want to translate my page, what would you recommend, wpml or polylang? Which one is compatible with your plugin? Cheers.

If you need the sum of them I’m afraid this would need to be added manually added through code.You set the limitation based on volume or each one individually, but I’m afraid the summation is not a common one stop it is not a built in feature. My apologies for not understand your question before. I thought you had wanted too check each one separately.

If you could open a support ticket, with a little bit of time I can put together an extension for you add this was my misunderstanding. This way you can freely upgrade in the future without worrying about losing the changes.

http://bolderelements.net/support/tickets/new/

As for translations, the only plugin this one has been officially tested with is WPML but that doesn’t mean you can’t use others. It is translation ready, simply not tested with anything else.

Hi, I am having a problem to get the rate for Rest of the World.

I disable Table rate shipping method because “As of Table Rate Shipping for WooCommerce 4.0, this settings page has been deprecated. It will continue to function over the next few updates to help with transition, but eventually it will be removed. It is recommended that you establish new Table Rate methods within the WooCommerce Shipping Zones to avoid future shipping complications”

But it seems when I disable it, the Rest of the World won’t get the rate.

Have you created a new 4.0 shipping method in the Rest of the world zone? Would it be possible to see a screenshot of your settings page? Please also verify the customer is qualifying for the correct zone by enabling shipping debug mode.

HI, i am rebuilding my site, just updated WP to 4.7.4 & WC to 3.05, i notice that the plugin does how anymore? Normally when i click Shipping i get these options Shipping zones | Shipping options | Shipping classes | Table Rate – but table rate is no longer available?

So long as you have shipping zones setup in the prior location (the shipping zones tab) it should still appear. If you were a prior user before 4.0 and would like help in determining why they are not showing up, please open a support ticket and share credentials so I can login and take a look.

http://bolderelements.net/support/tickets/new/

just worked out the changes. Nice….thank you for the help. Awesome product by the way. Good job.

Thank you, I’m glad to hear things are working better now :)

Hello, I keep myself briefly:

Small Parts Shipping via DHL: 5,99 € // From 75 € free shipping

Large parts shipping via freight forwarding: 39.99 € // From 500 € free shipping

If however a small part and a large part together in the shopping cart are: it always calculates the free dispatch from 75 € – the large part is thus then also charged with free shipping, although the majority does not exceed the 500 €.

For example:

Shopping cart: - 2 x tires for each 40 € = 80 € = Free shipping (exceeds 75 €) - 1 x bike for 379 € = under 500 € = 39.99 € forwarding company

Normally the shopping basket instead of 0 € shipping costs should show the 39.99 €.

Can I configure this with your plugin?

Kind regards

Certainly! If you go with the shipping class scenario I described above, you will be able to setup shipping rules like this separately for each group. It will always look at them separately to ensure the free shipping price is based on just the cost of the group and not the whole order.

Does change your plugin any things or is it “neutral” to any theme?

Definitely neutral! It is just a shipping calculator so it can work with any theme. It returns some numbers and a title to WooCommerce, and then WC and your theme will handle the output.

Presales question:

Hello I am building a restaurant with online delivery ordering for customer and they need to deliver by certain areas, can be by zipcode or by a 5 mile radius.

For example:

Zone 1: Local Pickup so no delivery charge and no minimum, but has a$15.00 minimum order and a $3.00 delivery charge for delivery Zone 2: $20.000 minimum order before taxes and a $4.00 delivery charge

More zones with a higher deliver charge and miniumum order amount.

Can this plugin accomplish this? I hope I’m not repeating a question that has already been asked.

Thanks.

This plugin could handle the shipping aspect of your scenario, but only my postal code. I’m afraid there is no way to set a base address and charge based on a certain mile radius.

I want to be sure the minimum order or minimum purchase in Subtotal has to be met for each zone, and then charge the delivery fees and taxes in order for the customer to proceed to checkout. The customer must meet $15.00 or above in Subtotal excluding taxes and delivery charges in order to checkout. In addition, if they do not meet requirements, a message will popup to let the user know they need to order more to proceed, for example. Hope this makes sense.

This plugin can handle the shipping aspect of this requirement, but if you need to have a message appear you will need another plugin to generate it. There are several ones available on WordPress.org.

is it possibile to have for only one country different shipping options, example: only for italy i want COD delivery for 9 euro and bank transfer & paypal for 5 euro

If you are looking to base shipping on the select payment option, I’m afraid this is not a built in feature. I am not sure if it is possible or not as shipping is calculated before the payment section is generated, but you can setup extra shipping options and hide certain payment gateways based on which shipping option they select:

http://www.bolderelements.net/support/knowledgebase/hide-payment-gateway-based-on-shipping-option-selected/

to create custom shipping methods i have to use this plugin? is this possibile. i cannot use “local delivery” because i use this also for other countries. am i right with that?

You don’t have to. The code snippet above is a good starting point. You can modify it to use any methods, or even shipping ID so you can tell it which instance to use.

WooCommerce Table Rate Shipping 4.0.1; Wordpress 4.7.4; Woocommerce 3.0.4; PHP 7.0

We have 3 Shipping classes and 10 Shipping Zones.

I upgraded plugin to v4.0.1, which continues to work fine in legacy mode.

Then, after checking first on our Test system, on our Live system I replicated the legacy shipping zones in Woocommerce and configured Table Rate Shipping methods that came close to mimicking the behaviour of legacy.

Then we disabled the legacy zones and went live with the new.

I then thought of a rule improvement, which involved using the Priorities on the shipping classes.

So on our Test system I set some priorites (1,2,3 against our three classes). But during testing I discovered that each class can only have its priority changed once on the shipping class maintenance screen – it is then fixed.

I tried a shipping class priority change on Live as a further test, which should had no unwanted effect on the Live shipping rules (as our current rules don’t utilise shipping class priorities). This also resulted in a “stuck” priority (just like on our Test system). However, as a side effect, it appears to have forced all zones to be mapped to our default, catch-all shipping zone.

So I disabled all Table Rate Shipping methods on the Shipping Zones screen, and re-enabled the legacy mode. Which is still working OK.

I’m not sure why the zones no longer map correctly but, as a start, the fact that the shipping class priorities get stuck is not a good sign.

The PHP logs are clean.

Are you aware of this issue? Presumably a fix falls to the Woocommerce team themselves?

I’m afraid I was not aware of this issue but have found the problem. It’s simply using the wrong function. The ‘add new’ function will not trigger if the data exists. To fix this, option the file woocommerce-table-rate-shipping/inc/class.settings-shipping-classes.php

Line 72 reads:
add_term_meta( $term_id, 'priority', (int) $data['priority'] );
Change it to:
update_term_meta( $term_id, 'priority', (int) $data['priority'] );

I do not understand how this could affect the zones and their qualifications, however. If you would like me to login and take a look to see if there is another cause please open a support ticket and provide credentials there.

http://bolderelements.net/support/tickets/new/

Conflict with Gravity Forms – I am unable to add any forms when this plugin is enabled. I have disabled all plugins and themes to isolate this issue. If the plugin is deactivated, I can create forms and switch the plugin back on to add them to pages. Can you advise please.

Another user has offered login details to their site and I am working on determining the problem. I can update you again when I know more, but if a fix requires some code to be moved around, it may be more helpful to open a support ticket so I can share the necessary files with you.

http://bolderelements.net/support/tickets/new/

Thanks – that was me actually! I posted in the forum as I had been waiting for a reply to another support ticket and wondered if it would be quicker!

Hi,

First of all, thank you for your plugin which is following our developpement since the very beginning of our website.

We want to let you know that we found a problem of compatibility with WooCommerce Multilingual. When we try to load an old order in our admin we’ve got the following message :

Notice: Undefined property: WooCommerce::$payment_gateways in /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php on line 252

Fatal error: Uncaught Error: Call to a member function payment_gateways() on null in /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php:252 Stack trace: #0 /wp-includes/class-wp-hook.php(298): WCML_Emails->filter_payment_method_string(NULL, 80471, ‘_payment_method…’, true) #1 /wp-includes/plugin.php(203): WP_Hook->apply_filters(NULL, Array) #2 /wp-includes/meta.php(486): apply_filters(‘get_post_metada…’, NULL, 80471, ‘_payment_method…’, true) #3 /wp-includes/post.php(1755): get_metadata(‘post’, 80471, ‘_payment_method…’, true) #4 /wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(127): get_post_meta(80471, ‘_payment_method…’, true) #5 /wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php(97): WC_Order_Data_Store_CPT->read_order_data(Object(WC_Order), in /wp-content/plugins/woocommerce-multilingual/inc/class-wcml-emails.php on line 252

Best Regards,

Does this problem go away when the plugin is disabled? I’ve looked through your stack trace here but I can’t find where any of this links up. This shipping method does not use the payment gateways variable, not even as a condition, so I’m not sure where it could be affecting this.

I think the problem comes from Woocommerce Multilingual. We advised the developers of this plugin. We’ll let you know if it comes from Table Rate Shipping. Thank you, Regards

Hi, Fantastic plugin, I have one question, I am still running WC2.6.8 with WP4.7.4, I want to update to latest version, is there any process to update or can I simply update to new version ?

EG, do I need to add zones or not ?

thanks mark

You won’t need to right away but the old settings are deprecated and will be removed eventually. But you will have time to work on this without your shipping going down. However, you may want to open a support ticket if you have variable products in your shop. There is an issue just brought to my attention that a function used is not properly backwards compatible with 2.6. If you open a ticket I can provide the fix that resolves this.

I’m not sure what this “update” to Table Rate Shipping is about. Don’t Wordpress plugins update through my control panel? I tried to upload the zip file as a plugin to my website, and my control panel said the “destination file already exists” and “upload failed”. I certainly don’t want to delete the version I have working on my site now…cuz then I may have to reconfigure all the settings, right? It’s working perfectly now, and I don’t have time to deal with an update that could cause my website to not function properly.

I can see others have asked similar questions elsewhere about similar updates that need to be downloaded (instead of just updating through the control panel with the click of a button like all my other plugins), and the answer has been “You shouldn’t lose all your settings.” So does that mean I “could lose them all, but I shouldn’t?!” Why is this paid-for plugin so horribly complicated when it comes to updating itself? Why can’t it update like every other plugin? It’s working perfectly for me now with the old version, and I’m just not interested in going back and configuring everything again if my settings are lost when installing an updated version. Should I just use the older version until an update to WC causes problems? Or should I trust that I can delete the old version, upload the new version, and everything will remain the same? I just have a simple table rate shipping set up, I believe, but my programming skills are very limited…which is why I bought a plugin…and I don’t want to open a can of worms when it is functioning perfectly now. What do I do?

I am sorry to hear the upgrading process has been confusing. Only plugins hosted through WordPress.org automatically have updates. Third party plugins hosted elsewhere like CodeCanyon need to build their own system. I would recommend trying Envato’s: http://envato.github.io/wp-envato-market/

If you are using the dashboard’s plugin uploader, you will need to delete the existing files first. This form is only an installer, not an upgrader, so it will not delete the files for you first. Deleting the files, however, will NOT delete your settings. These are stored in your database so they will reload when you reinstall the plugin.

So while your settings will not be lost, you will need to reconfigure the shipping eventually. The 4.0 update switches from a legacy method to one that is compatible with the new WooCommerce zones (so you will need to be running at least WC 2.6). But the legacy method is still included so your shipping will continue to operate as it did before while you switch over.

If you are running WC 3.0 you should have no issue. I do currently have one update in queue to resolve a backwards compatibility issue with WC 2.6, but if you still have 2.6 you can always open a support ticket and request the update soon.

http://bolderelements.net/support/tickets/new/

Thanks so much! I installed without any issues and am leaving everything as it is because it is working perfectly.

Hi, I’m interested in purchasing your plugin but I would like a few questions answered if you don’t mind. Assuming I have different products to be shipped, how does table rate determine what shipping cost to use assuming I want to use flat rate prices to determine shipping cost? Thanks

Are you going to respond to this ?

You have a lot of options worth this method so it depends on what you want. You can have priorities and charge the highest priority cost that the customer qualifies for, or you can charge a few for each group and have them combined into one option.

Sadly, the new version breaks our shop. The PHP version is outdated and the hosting provider can’t instantly move the site to an updated server. I would like to upload the older version of the plugin in the meantime so we can continue in business. Restoring the exported website does not work. Where can the old version be found? Thank you in advance!

I can’t register to bolder elements without a purchasing code, and I suppose I will have to renew my support license for that because the code is not where the instructions tell me it should be. I’ll get a hold of my boss. Good grief!

Done, ticket made.

Thank you, I have updated with further details.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey