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:

Problem with free shipping 21 Mar 2017 10:07 #1

  • tshoes
  • tshoes's Avatar Topic Author
Good morning,
I'm having the following problem ...
I have tried several ways but no one was able to solve the problem.
I have 5 categories on my website.
The Categorie is id 1 , 60 , 87 , 168 and the 467.
The rule is as follows ...
* if cart the total weight is 0kg the shipping cost is 0,00 €
* if cart basket the total weight is 4kg the shipping cost is 4,90 €
* if cart the total weight is more than 4Kg the shipping cost is = 4,90+(weigh-4)
* iif cart the total weight is more than 0kg and the amount is more than 50,00 €, the shipping cost is 0,00 €
* if cart the total weight is more than 10kg and the amount is more than 50,00 € the shipping cost is (weigh - 10)

And the code is

Name=" με Δωρεάν μεταφορικά (Free)"; Weight==0; articles<=90; Shipping=0
Name=" με Δωρεάν μεταφορικά (Free)"; 0<=Weight<=10; 50<=Amount<=500; Shipping=0
Name=" με Δωρεάν τα 10 πρώτα κιλά (Δέμα άνω των 10kg) (Free)"; 10<Weight<=50; 50<=Amount<=500; Shipping=(weight-10)
Name="Βασικό κόστος "; Weight<=4; amount<50; articles<=90; Shipping=4.9
Name=" (Δέμα άνω των 4kg)"; 4<Weight<=300; articles<=90 ; Shipping=4.9+(weight-4)



My problem is with the categorie with ID 467, where there i do not want the rule to apply to free shipping for these products.

Problem with free shipping 02 Apr 2017 14:12 #2

Dear Tshoes,
If I understand you correctly, you simply don't want the first two rules to apply when any product from category 467 is in the cart, i.e. when the condition "467 in Categories" is fulfilled... Simply include the (negative) condition in the first two rules, so they only apply if this condition is not true:
Name=" με Δωρεάν μεταφορικά (Free)"; Weight==0; articles<=90; Condition=not(467 in Categories); Shipping=0
Name=" με Δωρεάν μεταφορικά (Free)"; 0<=Weight<=10; 50<=Amount<=500;  Condition=not(467 in Categories); Shipping=0

Best regards,
Reinhold

[SOLVED] Problem with free shipping 04 Apr 2017 10:23 #3

  • tshoes
  • tshoes's Avatar Topic Author
Problem solved.

[SOLVED] Problem with free shipping 04 Apr 2017 10:23 #4

  • tshoes
  • tshoes's Avatar Topic Author
it is ok! Thank you very much!
  • Page:
  • 1