Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

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!

×

Notice

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

TOPIC:

Shipping method dependent on Product or Category? 28 Dec 2013 20:50 #1

  • SiberianTiger
  • SiberianTiger's Avatar Topic Author
Hi, I'm a user of the Pro version of the plugin.

I'm not very clear if there's a way to create a set of rules to make a shipping method or cost dependent on a particular product code or product category present in the cart. From the embedded help, I can conclude I can tie a dependency only to the number of items (articles) in the cart.

For instance, I want to make some shipping method inapplicable if the user added a product from a particular category in the cart. Is it possible under the current implementation?

Shipping method dependent on Product or Category? 28 Dec 2013 21:06 #2

Hi,
It is possible to make shipping costs depend on whether a product of a certain category is in the cart. You are right, the documentation should be improved in that respect, though.

See www.open-tools.net/forum/shipping-by-rul...tegories-or-sku.html
If you want to prohibit shipping if a category is present, simply use the NoShipping indicator:
Name="Shipping not abroad not available for frozen items"; 1234 in Categories; NoShipping 

It is also possible to check whether a particular item (indicated by the SKU) is in the cart:
www.open-tools.net/forum/shipping-by-rul...ion-of-specific.html
Name=Free shipping for Product A; "product-a" in SKUs; Shipping=0

[SOLVED] Shipping method dependent on Product or Category? 29 Dec 2013 10:09 #3

  • SiberianTiger
  • SiberianTiger's Avatar Topic Author
Many thanks! Will appreciate if the quoted examples are added to www.open-tools.net/component/content/article.html?id=46

Problem solved.

[SOLVED] Shipping method dependent on Product or Category? 29 Dec 2013 13:21 #4

Examples added (was on my TODO list anyway, but always procrastinated).

Shipping method dependent on Product or Category? 30 Dec 2013 15:35 #5

  • SiberianTiger
  • SiberianTiger's Avatar Topic Author
Strange, the following:

7 in Categories;

worked for me, while that:

Categories==list(7);

did not, for some reason. The rule was ignored for the cart.

Shipping method dependent on Product or Category? 31 Dec 2013 20:17 #6

Are you sure that category 7 was the only category in the cart? In particular, did none of the products in the cart have any other category assigned?

Best regards and a happy new year,
Reinhold
  • Page:
  • 1