Login
Register

VirtueMart

WooCommerce

Others

Docs

Support

Blog

About

Forum

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:

Is this possible with the plugin? 21 May 2015 23:18 #1

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Our lowest priced domestic shipping rate is for items between 1-100 grams and carries a price for that range.

However, the weights are actually volumetric rates and so even though the actual weight might be up to 100 grams an item may not fit into the available packaging.

Such items then have to be shipped by the next shipping method.

We have a list of the products that CAN be shipped by the low rate and have added a field to the product database with a value of 1 (true) for each.

So, the question is:

Can we set a rule that includes:

1<=Weight<=100;1<=Amount<=74.99; Field = 1;
?

Another possibility is to place all the particular products into a new category (unpublished) and include the category in the rule?

Currently, the rule does not contain the required condition so, if an order contains just one of the DISallowed products, we lose on the whole sale. That is because we are charging the minimum shipping rate on a very low value item whose profit does not cover the difference in shipping that we have to pay.

I hope that makes sense and that there is a viable solution. We have the Advanced version of the plugin.

Best

Is this possible with the plugin? 23 May 2015 15:29 #2

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Anyone?

Is this possible with the plugin? 23 May 2015 19:47 #3

Dear 4FootyFans,
The easiest way to exclude a shipping method/rate for certain products is to use a hidden category. With the advanced shipping by Rules plugin you can then check the list of categories for that disallowed category:
    Name="Low rate"; 1<=Weight<=100; 1<=Amount<=74.99; Condition=contains_none(Categories, 1234); Shipping=....
    Name="Higher rater, category 1234 is in the cart"; 1<=Weight<=100; 1<=Amount<=74.99; Condition=contains_none(Categories, 1234); Shipping=....

The ID of the excluded category is 1234 in this example. The "Condition=" is there to indicate to the plugin that this term is a condition. The plugin usually auto-detects which part of a rule is a condition by checking for the existence of comparison operators like <, ==, etc. If the rule part would only be "contains_none(...)", then the plugin would miss to detect this as a condition, so we have to explicitly tell it that this is a condition.

Best regards,
Reinhold

Is this possible with the plugin? 24 May 2015 00:50 #4

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Thank you.

That should work as required.

Best

[SOLVED] Is this possible with the plugin? 24 May 2015 00:50 #5

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
Problem solved.
  • Page:
  • 1