VirtueMart

WooCommerce

Others

Docs

Support

Demo

Blog

About

Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: [SOLVED] Is this possible with the plugin?

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

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
  • Offline
  • Posts: 17
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

Please Log in or Create an account to join the conversation.

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

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
  • Offline
  • Posts: 17
Anyone?

Please Log in or Create an account to join the conversation.

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

Please Log in or Create an account to join the conversation.

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

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
  • Offline
  • Posts: 17
Thank you.

That should work as required.

Best

Please Log in or Create an account to join the conversation.

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

  • 4FootyFans
  • 4FootyFans's Avatar Topic Author
  • Offline
  • Posts: 17
Problem solved.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1

VM - Shopping cart

 x 

Cart empty

Login Formular