Title: Open Tools's Replies | WordPress.org

---

# Open Tools

  [  ](https://wordpress.org/support/users/opentools/)

 *   [Profile](https://wordpress.org/support/users/opentools/)
 *   [Topics Started](https://wordpress.org/support/users/opentools/topics/)
 *   [Replies Created](https://wordpress.org/support/users/opentools/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/opentools/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/opentools/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/opentools/engagements/)
 *   [Favorites](https://wordpress.org/support/users/opentools/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/opentools/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/opentools/replies/page/2/?output_format=md)

 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Shipping by Rules for WooCommerce] Does nothing](https://wordpress.org/support/topic/does-nothing-73/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/does-nothing-73/#post-10013955)
 * Dear Jan,
    Sorry to hear about your trouble with our plugin and the impression
   that it does not offer any functionality. Not too long ago, we switched over 
   to WooCommerce’s Shipping zones, which means that the plugin does not need its
   own frontend any more to addcountry zones and shipping methods / rules, but uses
   the standard WooCommerce shipping zones.
 * The functionality of the plugin now appears quite hidden in the shipment method
   selection box: In the admin area, if you go to “WooCommerce” -> “Settings” ->
   Tab “Shipping” -> “Shipping zones” -> select a zone (“edit”) or “Manage shipping
   methods” for “Locations not covered by your other zones” -> “Add shipping method”.
   The “Add shipping method” dropdown box should also offer the “Shipping by Rules”
   method, which gives you access to the full power of the rules (sans the mathematical
   formulas, but still very powerful in the free version). A screenshot can be found
   here: [https://pasteboard.co/H9mlRUF.png](https://pasteboard.co/H9mlRUF.png)
 * The plugin’s configuration screen (“Shipping” -> “Shipping by rules”, also linked
   in the plugin area) does not add any additional functionality, but only serves
   as a different view of the zones, where you quickly see all zones and which of
   the methods use the Shipping by rules plugin.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] User role based rule](https://wordpress.org/support/topic/user-role-based-rule/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/user-role-based-rule/#post-9698546)
 * Dear Leneige90,
    In the advanced version of the plugin there is the UserRoles
   variable (a list of all user roles), which can be used to differentiate between
   user roles. For example, to give free shipping to administrators, simply prepend
   one of the following (equivalent) rules to your ruleset: `Name="Free shipping
   for Admins"; "administrator" in UserRoles; Shipping=0` or `Name="Free shipping
   for Admins"; Condition=contains_any(UserRoles, "administrator"); Shipping=0`
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Fatal Error](https://wordpress.org/support/topic/fatal-error-2723/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-2723/#post-9674133)
 * Dear Hangten2016,
    Sorry to hear about this issue. Unfortunately, our sample 
   installations do not exhibit this problem.
 * Do you have the free version installed, too? If so, does it work with the free
   version?
 * If you don’t have the free version installed or if it does not work (meaning 
   that the problem lies either in those parts shared between the free and the advanced
   version, or the problem is not due to our plugin), then my first attempt would
   be to comment out the code to load the legacy support (support for old shipping
   rules from before the switch to shipping zones):
 * – open the file wp-content/plugins/woocommerce-advanced-shipping-by-rules/woocommerce-
   advanced-shipping-by-rules.php from your installation and comment out the last
   four lines of code (after the comment “// Load the legacy plugin version IF REQUIRED”):
 *     ```
       // Load the legacy plugin version IF REQUIRED!
       /*$legacymethods = get_posts (array ('posts_per_page' => '-1', 'post_type' => 'shipping_rules'));
       if (count($legacymethods)>0) {
       	require_once( plugin_dir_path( __FILE__ ) . 'legacy-woocommerce-advanced-shipping-by-rules.php');
       } */
       ```
   
 * My first guess here would be that the call to get_posts (which tries to load 
   all legacy shipping methods to see if we need to load the legacy code in our 
   plugin) tries to access the currently-logged-in user. However, as this code is
   loaded directly when the plugin is loaded, WooCommerce / WordPress has not yet
   properly set up the user structures and the corresponding capabilities.
 * If this does not work, either, my next attempt would be to comment out the code
   for the plugin update checker (lines 44 to 58 of the same woocommerce-advanced-
   shipping-by-rules.php file).
 * Does either of these attempts solve your issue?
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] compatible with the SendCloud | Smart Shipping Service plugin](https://wordpress.org/support/topic/compatible-with-the-sendcloud-smart-shipping-service-plugin/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years ago](https://wordpress.org/support/topic/compatible-with-the-sendcloud-smart-shipping-service-plugin/#post-9129184)
 * Dear Gilles,
    We have not yet looked at SendCloud at all. However, looking at
   the description of the plugin ([https://wordpress.org/plugins/sendcloud-shipping/](https://wordpress.org/plugins/sendcloud-shipping/)),
   it appears to me that the plugin also does the shipping cost calculation itself(
   using a webservice in the cloud), so if the SendCloud shipping plugin is used,
   I don’t see a use case for our plugin in the first place. But maybe I’m misunderstanding
   the way the SendCloud shipping plugin works. Or maybe you are thinking of using
   our plugin in ways that we simply have not yet thought of.
 * Please let me know further details of the integration you are thinking of / expecting!
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Problem with composite products](https://wordpress.org/support/topic/problem-with-composite-products/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years ago](https://wordpress.org/support/topic/problem-with-composite-products/#post-9082224)
 * Dear Ryepoint,
    Do you need help getting Composite Products set up for your needs(
   then this is the wrong thread, as it is the help forum of our Shipping by Rules
   plugin), or do you need help setting up our shipping by rules plugin in combination
   with composite products. If it is the latter, which particular shipping cost 
   structure are you trying to implement?
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] How to limit orders to one country?](https://wordpress.org/support/topic/how-to-limit-orders-to-one-country/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years ago](https://wordpress.org/support/topic/how-to-limit-orders-to-one-country/#post-9056755)
 * Dear Jack,
    If you want to ship only to one country, and print a warning/error
   for all other countries, you must not place the NoShipping rule in the ruleset
   for the Netherlands. This only has the consequence that all orders to the Netherlands
   get this error message, while orders for all other countries don’t get any error
   but also no shipping rate.
 * The correct approach is to use two shipping ruleset:
 * 1. Ruleset restricted to “Netherlands”:
 *     ```
       Name=Gratis verzending / Free Shipping; 200<=Amount; 0
       Name=Verzendkosten / Shipping;Amount<25; Shipping=4.95
       Name=Verzendkosten / Shipping;Amount<200; Shipping=6.95
       ```
   
 * 2. Ruleset with NO country restrictions (Netherlands have already been handled
   by the first ruleset, so the second ruleset will apply to all other countries):
   `
   Name=Please contact us by email for orders outside the Netherlands;NoShipping`
 * To understand this, you’ll have to remember that the plugin uses the first matching
   rule that it finds and that the country selection works just like any other condition.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Shipping cost based on quantity?](https://wordpress.org/support/topic/shipping-cost-based-on-quantity-2/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/shipping-cost-based-on-quantity-2/#post-8656454)
 * You are welcome. The Name=… has no effect on the shipping costs, it just defines
   what is shown to the customer (in parentheses after the name of the whole method).
   You can show different shipping cost names for each rule. E.g. if the whole method
   is called “Austrian Postal Service” and you have a ruleset
 *     ```
       Name=Small package; Articles<=6; Shipping=14
       Name=Large package; 7<=Articles<=12; Shipping=18
       ```
   
 * then when the first rule matches, the shipping name will be “Austrian Postal 
   Service (Small package)”, in the second case it will be “Austrian Postal Service(
   Large package)”.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Shipping cost based on quantity?](https://wordpress.org/support/topic/shipping-cost-based-on-quantity-2/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/shipping-cost-based-on-quantity-2/#post-8655808)
 * Dear KeeperBay,
    The corresponding rules are:
 *     ```
       Articles<=6; Shipping=14
       7<=Articles<=12; Shipping=18
       ```
   
 * This will charge 14 for orders with a quantity of 1-6 articles and 18 for orders
   with a quantity of 7-12 articles. Orders with more articles will not get any 
   shipping from this method.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Problem with composite products](https://wordpress.org/support/topic/problem-with-composite-products/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/problem-with-composite-products/#post-8319482)
 * Dear Conectart,
    Our plugin currently simply counts the number of products. Apparently,
   the product-bundles plugin adds one “wrapper” product and both contained products
   to the cart.
 * Unfortunately, we don’t have access to that extension (and WooCommerce does not
   have any developer program, so they won’t give other developers access to the
   plugins for development purposes).
 * Is there any way to distinguish the wrapper product and/or the contained products?
   E.g. if the wrapper (bundle) product always belongs to a certain category, then
   you can calculate the numer of articles (in the advanced version) by subtracting
   the articles from the bundles category from the total article count:
    ` Variable
   =ArticlesSansBundles; Value=Articles – evaluate_for_categories(Articles, “bundleCategory”)`
   This defines a custom variable “ArticlesSansBundles”, where the product bundle
   is not counted as an article. For other situations, one can typically find similar
   workarounds.
 * However, in general, our plugin is not tailored to work with the product-bundles
   plugin right out of the box.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Is it compatible with Vendors?](https://wordpress.org/support/topic/is-it-compatible-with-vendors/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/is-it-compatible-with-vendors/#post-8319455)
 * Hello Benoit,
    regarding the support for WC Vendors: Our plugin has only limited
   support for vendors plugins. In particular, all the plugin offers is a list of
   vendors that are in the order.
 * The plugin does not offer specific settings per vendor, and neither does it allow
   individual vendors to set up individual rulesets. The rules always have to be
   set up globally by the site admin.
 * If you really only need a flat fee per vendor (i.e. if products from N different
   vendors are bought, then N * m $ are charged, i.e. m$ per vendor), this can be
   implemented easily in the advanced version:
    ` Shipping=count(Vendors)*123 ` 
   However, everything even a little more complex is typically not easily supported
   by the plugin.
 * Best regards,
    Reinhold
 * PS: If you still think this plugin could fit your needs, let us know at [office@open-tools.net](https://wordpress.org/support/users/opentools/replies/office@open-tools.net?output_format=md),
   so we can figure out something.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Warning Error](https://wordpress.org/support/topic/warning-error-35/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/warning-error-35/#post-7496893)
 * Dear smellygit,
    Thank you for the report. It is indeed an incompatibility with
   the latest version of WC. We just released version 1.2.2 of the plugin, which
   should fix your issue. Please let use know whether the problems still occur.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Problem with composite products](https://wordpress.org/support/topic/problem-with-composite-products/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [10 years ago](https://wordpress.org/support/topic/problem-with-composite-products/#post-7367837)
 * Dear Stefan,
    When you speak of composite products, how are you creating them?
   I suppose you are using the WooCommers Composite Products extension ([https://www.woothemes.com/products/composite-products/](https://www.woothemes.com/products/composite-products/))?
   Unfortunately, we don’t have access to that plugin, so I have no idea how composite
   products work internally.
 * Sorry,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Calculate Price by address](https://wordpress.org/support/topic/calculate-price-by-address/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/calculate-price-by-address/#post-7124130)
 * Since I haven’t heard back for a month, I’m assuming our answer has solved this
   issue. If not, please feel free to contact us again.
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Calculate Price by address](https://wordpress.org/support/topic/calculate-price-by-address/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/calculate-price-by-address/#post-7124101)
 * Dear SandraSusin,
    Do I understand you correctly that you want to offer several
   destination cities (each with different shippign costs) and let the customer 
   choose, to which city the package should be sent (e.g. for local pickup at one
   of your branches in each of these cities)?
 * This is easily possible by creating one shipping method for each city, and each
   of these methods would implement the shipping cost structure to that particular
   city. Each of these shipping method would then be offered to the customer for
   selection.
 * E.g. two destination cities, Vienna (shipping is 5€ flat) and Munich (shipping
   for orders above 100€ is free, 10€ flat below):
    1. Shipping Method 1 (“Local pickup in Vienna store”):
        One ruleset with these 
       rules:
    2. > `Shipping=5`
    3. Shipping Method 2 (“Local pickup in Munich store”):
        One ruleset with these 
       rules:
    4. > `Name=Free shipping above 100€; Amount>=100; Shipping=0
       >  Amount<100; Shipping
       > =10
 * Of course, the shipping cost structures to each city can be arbitrarily complex.
   For examples, see the [“Rules Examples” page on our homepage](http://open-tools.net/documentation/advanced-shipping-by-rules-for-woocommerce/rules-examples-wc.html).
 * Best regards,
    Reinhold
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Shipping by Rules for WooCommerce] Is it compatible with Vendors?](https://wordpress.org/support/topic/is-it-compatible-with-vendors/)
 *  Plugin Author [Open Tools](https://wordpress.org/support/users/opentools/)
 * (@opentools)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/is-it-compatible-with-vendors/#post-6993062)
 * In the latest version of the paid version of the plugin we have now added support
   for several multi-vendor plugins (through a Vendors list variable and the evaluate_for_vendors
   function, see the Rules Example page on our homepage). However, this functionality
   is NOT available in the free version of the plugin.
 * Best regards,
    Reinhold

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/opentools/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/opentools/replies/page/2/?output_format=md)