Shipping by Rules for VirtueMart

IMPORTANT ANNOUNCEMENT: Plugin development ceased, all plugins made available freely (GPL)

With great sadness we have to announce that we are ceasing development of all our VirtueMart, WooCommerce and Joomla plugins. Effective immediately, all our plugins -- even those that were paid downloads -- are made available for free from our homepage (GPL license still applies), but we cannot and will not provide any support anymore.

It has been a great pleasure to be part of the thriving development communities of VirtueMart as well as WooCommerce. However, during the last year it became painstakingly clear that in addition to a full-time job, a young family and several other time-consuming hobbies at professional level (like being a professional singer) the plugin development and the support that it requires is not sustainable and is taking its toll. It has been an honor, but it is now time to say good bye!



The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1


Shipping costs by weight 09 May 2014 00:00 #1

  • Ideal24
  • Ideal24's Avatar Topic Author
Sorry for my english!
I have in store products, the cost of shipping is determined by weight:
- 33 kg = 50 euro
- 100 kg = 75 euro
In this case, the customer can not buy the two products, as there is no weight of 66 kg and 200 kg. Is your plugin will solve this problem?
Is your plugs solve the problem of buying products with different weights? For example:
33 kg (50 Euro) + 100 kg (75 EURO) = 125 EURO

Shipping costs by weight 04 Jun 2014 10:05 #2

Your case cannot easily be solved with yhe pkugin, beause the plugin bases the shipping costs on the values of the whole cart, not on individual products.

If you use a chek Weight==50, this means that the weight of the whole cart is 50, not the weight of an individual article.
Unless you can reformulate your shipping cost structure in terms of whole-cart values, I'm afraid it will be quite hard, if not impossible, to implement it using my plugin.


Shipping costs by weight 04 Jun 2014 10:39 #3

  • Ideal24
  • Ideal24's Avatar Topic Author
How do I solve the problem when I have products with different shipping costs?

Shipping costs by weight 04 Jun 2014 11:31 #4

Unfortunately, the plugin does not provide a way to have per-product shipping costs.


Shipping costs by weight 04 Jun 2014 11:38 #5

  • Ideal24
  • Ideal24's Avatar Topic Author
In that case, if it is possible to set that shipping cost is not less than the cost of shipping the most expensive item?

The current formula that I use makes:
one product shipping 0
second product shipping 35
Customer buying both products are obtained to pay for shipping 0

Shipping costs by weight 19 Jun 2014 19:06 #6

If you have only two products, you can distinguish whether product A or B or both are in the cart.
Name="Both products"; contains_all(SKUs, "SKU_A", "SKU_B"); Shipping=0
Name="Cart contains product A"; contains_any(SKUs, "SKU_A"); Shipping=0
Name="Cart contains product B"; contains_any(SKUs, "SKU_B"); Shipping=35

However, if you have more than two products, this workaround quickly becomes a nightmare to maintain. The plugin simply is not designed to base shipping costs on individual products.

Also note that my rules give 35€ shipping cost, whether product B is ordered once or a thousand times (i.e. the quantity of product B can NOT be used for the shipping cost at all). There is no way around this, because that is again how the plugin is designed. Implementing per-product shipping would require a completely new approach and would basically mean writing a new shipping plugin.

Best regards,
  • Page:
  • 1