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:

ShippingWithTax incorrect order details 08 May 2013 22:47 #1

  • manuxx
  • manuxx's Avatar Topic Author
Hi

When using this cool feature we have a little issue at the details of the order.

As you can see in the image the total shipping is showing with VAT, total shipping is 6.00 not 6.55, that 0.55 is the tax of the shipping, don't know why it appears there, if we use the default rule "shipping" it shows correctly, however we need to use this one.



Image here s10.postimg.org/uc8dpr6bd/shippingwithtax.jpg in case it doesn't load for you, cause i only see it when logged in.

Regards

ShippingWithTax incorrect order details 12 May 2013 08:13 #2

  • manuxx
  • manuxx's Avatar Topic Author
Hello Reinhold?

Please can you tell me something about this issue,

regards

ShippingWithTax incorrect order details 18 May 2013 21:41 #3

  • manuxx
  • manuxx's Avatar Topic Author
Hi Reinhold, don't know why this topic is getting ignored, you have always helped us really nicely. Is not a big issue as the final result is correct but we just wanted to let you know to see if there was any option to solve it.

I spoke with Milbers also telling him this feature was really cool and solved the problem of getting whole numbers when you have products with different taxes, if this same rule applied for the payment fee and the products itself it would help a lot VM2 for shop owners with multiple taxes.

Currently is a problem setting different taxes when you want whole numbers as a final result for your customers except in the shipping thanks to this rule.

So I think this is a really interesting thing that could be extended for other prices appliances in VM2.

Don't know if im asking something weird, if you are looking in to the issue or you are just too busy. I've tried contacting you via e-mail but no reply either.

Anyway, when you have time it would be nice to hear something from you, im a bit surprised cause we were one of your first customers and always had really fast replies and nice help from you,

Regards

ShippingWithTax incorrect order details 20 May 2013 15:56 #4

Sorry that I overlooked your report (I have a lot of different things to do currently). I'll have to investigate it in more detail (in particular, the VM data structures are not always so straightforward with regard to what is used for display and what is used for the calculations). I'll check the VM code to see which shipping variable is wrongly set by the plugin.

ShippingWithTax incorrect order details 21 May 2013 12:18 #5

  • manuxx
  • manuxx's Avatar Topic Author
Thanks for reply Reinhold, don't worry we will wait for your reply when you get the time to look at it,

Anyway Milbers warned me about the "legal" aspect of adjusting the neto price to the brutto, according to law he mentioned me that we can't simply adjust prices dependent on taxes as we were planning to do.

forum.virtuemart.net/index.php?topic=115729.0

Regards

ShippingWithTax incorrect order details 27 May 2013 05:22 #6

  • kaybee57
  • kaybee57's Avatar
Had the same issue but when creating the rule, I use the Ex tax price for the shipping rule - seems to come through correctly on the customer order once that is used.

Hope that helps in your case!
Brenda

ShippingWithTax incorrect order details 27 May 2013 09:45 #7

  • manuxx
  • manuxx's Avatar Topic Author
Thanks for reply Brenda, could you please show me a line of your shipping cost so I can understand exactly how you do it?

Regards

ShippingWithTax incorrect order details 27 May 2013 09:58 #8

  • kaybee57
  • kaybee57's Avatar
Our tax is +10% so the tax amount is actually 1/11th of the end price - (end price/11)*10 - eg the 118.18 as below is actually (130/11)*10

Name=Bundaberg; ZIP==4670; articles==1; 108.18 (comes out as $119.00)
Name= Rockhampton, Mackay; ZIP==4740 OR 4700<=ZIP<=4701; articles==1; 118.18 (comes out as $130.00)

ShippingWithTax incorrect order details 27 May 2013 10:12 #9

  • manuxx
  • manuxx's Avatar Topic Author
Thanks a lot for the info.

Yeah we do the same, the problem is when you have 2 taxes, one of 4% and another of 10% so we cant get a whole number out of both results, we either round it for 4% or 10%.

Regards

ShippingWithTax incorrect order details 30 May 2013 23:32 #10

Can you check the latest version 2.4.6?
It should now correctly calculate the shipping costs without taxes from the shipping costs with tax.

ShippingWithTax incorrect order details 31 May 2013 01:20 #11

  • kaybee57
  • kaybee57's Avatar
Updated version installed (working on this for Australia's GST system)

If no tax rule is applied in setting rules up, then all is correct, price entered into rule is what's shown front end total shipping price with no GST shown as part of the delivery charge.
If a the GST rule of 10% is applied to shipping (in whichever configuration I could work), the ex GST tax price still needs to be entered into the Advanced shipping rules as shown below.

It's not an issue as long as the set up is understood.

Have shown my full rules listing as below (for my clients many and varied requirements!) Took a bit of work but I'm happy with the end result - which works!!!
i.e. Each item is the shipping cost*articles but also dependent on weight
Each price is also an ex GST price.

This may help someone else if reading this post anyway. (I hope!)

Name=Brisbane, Toowoomba, Maroochydore; 4000<=ZIP<=4208 OR ZIP==4210 OR ZIP==4350 OR ZIP==4516 OR ZIP==4521 OR ZIP==4551 OR ZIP==4564 OR 4300<=ZIP<=4305 OR 4500<=ZIP<=4511 OR 4556<=ZIP<=4559 OR 4561<=ZIP<=4562 OR 4566<=ZIP<=4567 OR 4572<=ZIP<=4575; 75<=weight<=95; 71.82*articles
Name=Brisbane, Toowoomba, Maroochydore; 4000<=ZIP<=4208 OR ZIP==4210 OR ZIP==4350 OR ZIP==4516 OR ZIP==4521 OR ZIP==4551 OR ZIP==4564 OR 4300<=ZIP<=4305 OR 4500<=ZIP<=4511 OR 4556<=ZIP<=4559 OR 4561<=ZIP<=4562 OR 4566<=ZIP<=4567 OR 4572<=ZIP<=4575; weight>95; 77.27*articles
Name=Gold Coast; ZIP==4209 OR ZIP==4352 OR 4211<=ZIP<=4230; 75<=weight<=95; 81.82*articles
Name=Gold Coast; ZIP==4209 OR ZIP==4352 OR 4211<=ZIP<=4230; weight>95; 90*articles
Name=Bundaberg; ZIP==4670; 75<=weight<=95; 108.18*articles
Name=Bundaberg; ZIP==4670; weight>95; 108.18*articles
Name= Rockhampton, Mackay; ZIP==4740 OR 4700<=ZIP<=4701; 75<=weight<=95; 118.18*articles
Name= Rockhampton, Mackay; ZIP==4740 OR 4700<=ZIP<=4701; weight>95; 135.45*articles
Name=Cairns; ZIP==4878 OR 4870<=ZIP<=4872; 75<=weight<=95; 150.00*articles
Name=Cairns; ZIP==4878 OR 4870<=ZIP<=4872; weight>95; 171.82*articles
Name=Queensland; 4270<=ZIP<=4287 OR 4306<=ZIP<=4347 OR 4353<=ZIP<=4359 OR 4360<=ZIP<=4384; 75<=weight<=95; 90.91*articles
Name=Queensland; 4270<=ZIP<=4287 OR 4306<=ZIP<=4347 OR 4353<=ZIP<=4359 OR 4360<=ZIP<=4384; weight>95; 108.20*articles
Name=Queensland; ZIP==4385 OR 4387<=ZIP<=4390 OR 4400<=ZIP<=4465 OR 4494<=ZIP<=4496 OR ZIP==4498; 75<=weight<=95; 208.18*articles
Name=Queensland; ZIP==4385 OR 4387<=ZIP<=4390 OR 4400<=ZIP<=4465 OR 4494<=ZIP<=4496 OR ZIP==4498; weight>95; 226.40*articles
Name=Queensland; ZIP==4580 OR ZIP==4581 OR 4600<=ZIP<=4608 OR 4610<=ZIP<=4621 OR 4625<=ZIP<=4627 OR 4650<=ZIP<=4662 OR 4671<=ZIP<=4676; 75<=weight<=95; 140.91*articles
Name=Queensland; ZIP==4580 OR ZIP==4581 OR 4600<=ZIP<=4608 OR 4610<=ZIP<=4621 OR 4625<=ZIP<=4627 OR 4650<=ZIP<=4662 OR 4671<=ZIP<=4676; weight>95; 159.10*articles
Name=N.S.W.; 2000<=ZIP<=2007 OR 2079<=ZIP<=2234; 75<=weight<=95; 80.91*articles
Name=N.S.W.; 2000<=ZIP<=2007 OR 2079<=ZIP<=2234; weight>95; 90.00*articles
Name=N.S.W.; 2250<=ZIP<=2251 OR 2253<=ZIP<=2259 OR 2280<=ZIP<=2309 OR ZIP==2264; 75<=weight<=95; 86.36*articles
Name=N.S.W.; 2250<=ZIP<=2251 OR 2253<=ZIP<=2259 OR 2280<=ZIP<=2309 OR ZIP==2264; weight>95; 90.00*articles
Name=N.S.W.; 2314<=ZIP<=2347 OR 2352<=ZIP<=2411 OR 2420<=ZIP<=2424 OR 2426<=ZIP<=2441 OR 2443<=ZIP<=2450 OR 2452<=ZIP<=2456 OR 2462<=ZIP<=2479 OR 2480<=ZIP<=2484 OR 2487<=ZIP<=2490 OR ZIP==2312 OR ZIP==2415; 75<=weight<=95; 140.91*articles
Name=N.S.W.; 2314<=ZIP<=2347 OR 2352<=ZIP<=2411 OR 2420<=ZIP<=2424 OR 2426<=ZIP<=2441 OR 2443<=ZIP<=2450 OR 2452<=ZIP<=2456 OR 2462<=ZIP<=2479 OR 2480<=ZIP<=2484 OR 2487<=ZIP<=2490 OR ZIP==2312 OR ZIP==2415; weight>95; 150.00*articles
Name=N.S.W.; 2500<=ZIP<=2530; 75<=weight<=95; 90.00*articles
Name=N.S.W.; 2500<=ZIP<=2530; weight>95; 99.10*articles
Name=N.S.W.; 2533<=ZIP<=2541 OR 2545<=ZIP<=2551; 75<=weight<=95; 135.55*articles
Name=N.S.W.; 2533<=ZIP<=2541 OR 2545<=ZIP<=2551; weight>95; 144.55*articles
Name=N.S.W.; 2558<=ZIP<=2560 OR 2563<=ZIP<=2567; 75<=weight<=95; 80.91*articles
Name=N.S.W.; 2558<=ZIP<=2560 OR 2563<=ZIP<=2567; weight>95; 90.00*articles
Name=N.S.W.; 2568<=ZIP<=2590 OR ZIP==2594 OR 2621<=ZIP<=2633 OR 2642<=ZIP<=2649 OR 2652<=ZIP<=2660 OR 2663<=ZIP<=2666 OR 2668<=ZIP<=2675 OR ZIP==2681 OR 2700<=ZIP<=2739 OR 2745<=ZIP<=2750 OR 2752<=ZIP<=2754 OR 2756<=ZIP<=2770 OR 2773<=ZIP<=2787 OR 2790<=ZIP<=2795 OR 2797<=ZIP<=2799 OR 2803<=ZIP<=2829 OR 2831<=ZIP<=2850 OR ZIP==2852 OR 2854<=ZIP<=2871 OR ZIP==2873 OR ZIP==2879; 75<=weight<=95; 135.45*articles
Name=N.S.W.; 2568<=ZIP<=2590 OR ZIP==2594 OR 2621<=ZIP<=2633 OR 2642<=ZIP<=2649 OR 2652<=ZIP<=2660 OR 2663<=ZIP<=2666 OR 2668<=ZIP<=2675 OR ZIP==2681 OR 2700<=ZIP<=2739 OR 2745<=ZIP<=2750 OR 2752<=ZIP<=2754 OR 2756<=ZIP<=2770 OR 2773<=ZIP<=2787 OR 2790<=ZIP<=2795 OR 2797<=ZIP<=2799 OR 2803<=ZIP<=2829 OR 2831<=ZIP<=2850 OR ZIP==2852 OR 2854<=ZIP<=2871 OR ZIP==2873 OR ZIP==2879; weight>95; 144.55*articles
NAME=ACT; 2600<=ZIP<=2620; 75<=weight<=95; 104.55*articles
NAME=ACT; 2600<=ZIP<=2620; weight>95; 104.55*articles
Name=South Australia; 5000<=ZIP<=5115 OR 5121<=ZIP<=5127 OR 5132<=ZIP<=5134 OR ZIP==5141 OR 5158<=ZIP<=5168 OR ZIP==5950; 75<=weight<=95; 118.18*articles
Name=South Australia; 5000<=ZIP<=5115 OR 5121<=ZIP<=5127 OR 5132<=ZIP<=5134 OR ZIP==5141 OR 5158<=ZIP<=5168 OR ZIP==5950; weight>95; 118.18*articles
Name=Victoria; 3000<=ZIP<=3207; 75<=weight<=95; 80.91*articles
Name=Victoria; 3000<=ZIP<=3207; weight>95; 90.00*articles
Name=Victoria; 3222<=ZIP<=3231 OR 3240<=ZIP<=3241 OR ZIP==3250 OR 3328<=ZIP<=3329 OR 3331<=ZIP<=3333 OR 3335<=ZIP<=3342 OR ZIP==3357 OR 3427<=ZIP<=3444 OR 3450<=ZIP<=3458 OR 3555<=ZIP<=3556 OR ZIP==3658 OR ZIP==3660 OR ZIP==3711 OR 3750<=ZIP<=3765 OR 3766<=ZIP<=3778 OR 3781<=ZIP<=3799 OR 3802<=ZIP<=3820 OR ZIP==3825 OR ZIP==3844 OR ZIP==3854 OR 3911<=ZIP<=3920 OR 3926<=ZIP<=3941 OR 3943<=ZIP<=3944 OR 3975<=ZIP<=3978 OR 3980<=ZIP<=3984; 75<=weight<=95; 117.27*articles
Name=Victoria; 3222<=ZIP<=3231 OR 3240<=ZIP<=3241 OR ZIP==3250 OR 3328<=ZIP<=3329 OR 3331<=ZIP<=3333 OR 3335<=ZIP<=3342 OR ZIP==3357 OR 3427<=ZIP<=3444 OR 3450<=ZIP<=3458 OR 3555<=ZIP<=3556 OR ZIP==3658 OR ZIP==3660 OR ZIP==3711 OR 3750<=ZIP<=3765 OR 3766<=ZIP<=3778 OR 3781<=ZIP<=3799 OR 3802<=ZIP<=3820 OR ZIP==3825 OR ZIP==3844 OR ZIP==3854 OR 3911<=ZIP<=3920 OR 3926<=ZIP<=3941 OR 3943<=ZIP<=3944 OR 3975<=ZIP<=3978 OR 3980<=ZIP<=3984; weight>95; 126.37*articles

ShippingWithTax incorrect order details 01 Jun 2013 06:18 #12

  • manuxx
  • manuxx's Avatar Topic Author
Thanks Reinhold, works fine for me now.

Regards

ShippingWithTax incorrect order details 03 Jun 2013 15:20 #13

Updated version installed (working on this for Australia's GST system)

If no tax rule is applied in setting rules up, then all is correct, price entered into rule is what's shown front end total shipping price with no GST shown as part of the delivery charge.
If a the GST rule of 10% is applied to shipping (in whichever configuration I could work), the ex GST tax price still needs to be entered into the Advanced shipping rules as shown below.


wow, that's an impressive set of rules!

Regarding the shipping with tax: If you use the ShippingWithTax variable, the plugin should automatically calculate the tax from it and use these values. In my test installations this works as intended, using a VAT-type tax rule. E.g. see the "shippingWithTax" shipping method at demo.kainhofer.com:
Name=White Glove Delivery; shippingWithTax=5

If it doesn't work for you, can you please check the exact tax rule in your setup?

[SOLVED] ShippingWithTax incorrect order details 19 Jun 2013 15:06 #14

Problem solved.
  • Page:
  • 1