raneri supports this item


This author's response time can be up to 1 business day.

149 comments found.

Good morning, I have bought your add on, Conditional Free Shipping. It almost does want I want. I sell essentially two items. Item A is free shipping once spent over $X. Item B is not free shipping and I don’t want it to count towards the $X target. Easy, tick the virtual product box on item B. That works great. BUT if they ONLY purchase item B, they pay no shipping at all because it’s virtual. How do I get around that?


Hi Andrew and thank you very much for purchasing our plugin!

Unfortunately I don’t think there is an immediate solution for you case: if you put item B in another product category and exclude it from free shipping, it will be deactivated if customers buy both, so you will have the opposite problem…

Maybe you can do this way and simply put a message to invite your users to do two separate orders if they want to buy both products AND get free shipping for item A.

Hello, I am looking to build a woocommerce site that will offer FREE SHIPPING for X number of months based on a membership/subscription level.


Can your extension do that? Thanks!

Hello, maybe it’s better for you to deliver a normal free shipping coupon of WooCommerce, valid for 3/6/12 months? I don’t see the need of our plugin in you case, unfortunately for us :)

Hello! We have a Little problem with this amazing Plugin . Motivation phrase is duplicated on cart page. Could you please help us. Thank you so much, Sabine

Hello, this is not a setting of the plugin, but a layout in the theme you’re using. Are you using a commercial template for your website, without modifications?

yes, I’m using The Child_theme of ‘Storefront’ named Homestore

You could check in cart.php template file if there are two occurrences of the “woocommerce_before_cart_table” hook.


I have a couple of questions, please.

1. Can I apply free shipping to choice products only and not to all products?

2. Can I limit the quantity of an item with free shipping? Say, for example, an item that has free shipping can only be ordered at a maximum of 3 only per customer. A message will show that he’s exceeded the required limit when the quantity is exceeded. Is this possible in this plugin?

3. Can you show a live preview site or a screenshot of how the free shipping option shows in the cart?

Thank you.

Hi and sorry for the delay, I didn’t see your message :)

1. Not on single “exact” product, but only to categories

2. No, for the same reason above, but you can set – for example – a maximum weight for the cart

3. It looks like any other shipping method, with a radio button or another command (it depends by your template), with “Free shipping” as text

Im getting this error… Warning: Declaration of Raneri_Free_Shipping::calculate_shipping($package) should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /wp-content/plugins/codecanyon-5923615-conditional-free-shipping-woocommerce-plugin/woocommerce-raneri-free-shipping.php on line 31

That’s how the wp-config WAS set up, I didn’t change anything and yes that warning was still showing. I had to deactivate the plugin to remove the warning from my cart. Any suggestions?

my host helped me …they added this: define( ‘WP_DEBUG_DISPLAY’, false ); @ini_set( ‘display_errors’, 0 );

Hello, yes this depends also by the hosting. Happy that you solved this :)

I just installed and got this error on my site – Warning: Declaration of Raneri_Free_Shipping::calculate_shipping($package) should be compatible with WC_Shipping_Method::calculate_shipping($package = Array) in /home4/paintwa1/public_html/wp-content/plugins/codecanyon-5923615-conditional-free-shipping-woocommerce-plugin/woocommerce-raneri-free-shipping.php on line 31

He explains what it worked on his hosting, adding to wp-config.php: define( ‘WP_DEBUG_DISPLAY’, false ); @ini_set( ‘display_errors’, 0 );

Can you please provide instructions. My host didn’t know what that meant.

Just put this at the end of your wp-config.php file.

hello is your plugin compatible with dokan?

Hi, it should be compatible because this is a standard WooCommerce shipping method. Since Dokan is built on top of WooCommerce I think it will work, but we didn’t tested it with Dokan, so I can’t confirm for sure.

interesting i hope so, bc woocommerce is not intuitive at all with this subject. The thing with Dokan is deporting the management to the front end, and make a given feature available at the Vendor profile level.Thanks for the reply


dsarnari Purchased


is provided an update for woocommerce 3.1.x ??

Motivational phrase in cart page don’t work.

don’t work also support of new shipping zones


Hi! The motivational phrase is bound to the woocommerce_before_cart_table hook that should be still present and working in 3.x, maybe your theme doesn’t call it in cart.php (just guessing) ?

The support for 3.x shipping zones will be included in a future release of the plugin, but I can’t anticipate the exact release date.


dsarnari Purchased

The motivational phrase it works! Sorry for my mistake. We wait for plugin update…. Thank you!

No problem! And thank you for your purchase!

I had a customer get free shipping on their whole order when it’s only set to give free shipping on one category. That category was with other products and this hasn’t happened before until now. Is this a bug or an update needed?

Hi, unfortunately we were unable to reproduce the problem. We tested with the latest version of WP available (4.81) and both an old version of WC (2.4.8) later updated to the latest (3.1.2).

In every test case we tried to set our plugin with a simple rule: products from one category (sweatshirts) activate free shipping. Adding a product from sweatshirts made free shipping available. Adding a second product from another category (jackets) free shipping is unavaiable and the normal paid shipping is shown.

The sole case that caused the problem you described is when you add a first product from the free shipping category, and then you add a second product that DOESN’T HAS A CATEGORY at all. In this case our plugin sees that the cart doesn’t contain products from categories that are not listed in the free ones, and so it activates free shipping. But I’m not sure it can be considered a bug… the reasoning is technically correct.

Hi..thanks for the reply. No no, I didn’t say adding a 2nd product with no category at all. I said if we add stickers (our only “Free shipping” category in raneri plugin) and then a customer added another product (*with category..they all have categories) then free shipping was presented to the customer as was the case in both my customer’s order as well as Woo’s test of it which I sent you the screen shot

Yes, I see: when I write “when you add a first product…” I mean: when a user adds it to his cart. There must be one setting or one plugin in particular that modifies this behaviour because we can’t reproduce it on our installation. If you want, I can record a demo screencast where I execute the sequence of actions and the cart works as expected.