Author Topic: [SOLVED] Taxes and calculation rules (field Category)  (Read 3170 times)

lostmail

  • Jr. Member
  • **
  • Posts: 314
[SOLVED] Taxes and calculation rules (field Category)
« on: August 16, 2019, 13:36:43 pm »
It seems that the category field in taxes and calculation rules does not work.

The rule "Discount 5% for ladies" which should take affect for the category "Lady" seems not to work.

When you put it in the basket there is no Discount calculated.

http://demo.virtuemart.net/zipper-pullover-detail

I found it in my shop and in the demo shop, too...field Category in taxes and rules seems to hve no function/disfunction
http://forum.virtuemart.net/index.php?topic=143052.msg505980#msg505980

..and if you check the rules calculation....please check checkout cart, too for the rules.
It is looking strange:


Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10213
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Taxes and calculation rules (field Category)
« Reply #1 on: August 27, 2019, 18:02:53 pm »
Which version do you mean?
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #2 on: August 31, 2019, 11:07:55 am »
Version 3.4.2...See the vm Demo Page,too.
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10416
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Taxes and calculation rules (field Category)
« Reply #3 on: August 31, 2019, 11:15:48 am »
latest stable is now VM3.6.0 -- but all normal warnings about updating apply of course
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #4 on: September 04, 2019, 16:23:40 pm »
Im on 3.60 now but the Problem still exists.
If i Set a rule especially for a category all products have now
This price update but the are not asigned to that category.

In vm Demo this rule takes no effect for the products asigned for a category...

Very strange...
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #5 on: September 12, 2019, 20:32:05 pm »
Now in VM Demo there is no product configured with TaxBeforeBill or TaxAfterBill and I can not find a Product rule which is assigned to a category.

Why that ? Because it does not work ???

Please check that calculation rule for categories as I think it is buggy...

The rule does not work in demo as you can see here:
http://demo.virtuemart.net/wear/lady
No product has a discount of 5%
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #6 on: September 22, 2019, 20:32:04 pm »
In installed a completely new VM 3.6 System with no modifications or overrides etc..

Created 2 Categories and 2 Products + 2 calculation rules.

One of the product is assigned to Category "BULK PRODUCTS" and this category is defined in one of the calculation rules.

I take the product in cart where the rule NOT should take affect (as the product is only in the category assigned which has no additional calculation rule) - but it does !!
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #7 on: September 22, 2019, 20:35:47 pm »
...and another strange thing:
I have nothing in the cart but the calculation rule is still visible...???
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #8 on: September 28, 2019, 21:20:01 pm »
After update to VM 3.6.2.10159 the calculation rule is now working but in Cart view the tax for the rule is not visible in the line.
Please check image attached.
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #9 on: September 28, 2019, 21:27:28 pm »
Hm - no -still not working.
I have 1 product in cart which is not assigned to the category where the rule is assigned for and the discount is still present in cart...

When I have NOTHING in Cart the rule is visible

Perhaps there is still something wrong with the calculation rule.
When I open the rule I see () behind the rule name...perhaps an error ?
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #10 on: November 07, 2019, 21:01:50 pm »
VirtueMart 3.6.8 10197 - Rules and Calculation BUG is still alive..(Joomla and VM are Default - no additional Templates/Hacks...)
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10213
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Taxes and calculation rules (field Category)
« Reply #11 on: November 15, 2019, 11:42:37 am »
Thank you for your good bug report.

I tested it before always with a percentage and that seemed to work. But did not test your use case (nice one, btw).
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10213
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Taxes and calculation rules (field Category)
« Reply #12 on: November 15, 2019, 20:33:13 pm »
I tested a lot different cases. Also the "mixed" type,.. Vat per product, but discount per Bill, both works in my case per category.

also when I have two products in the cart, when I use a discount with percentage, it discounts only the product in the category. Hmm.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

lostmail

  • Jr. Member
  • **
  • Posts: 314
Re: Taxes and calculation rules (field Category)
« Reply #13 on: November 16, 2019, 11:48:21 am »
Hm - very strange...
Send you a link to the testpage

Perhaps you have a differnt file Version from the package in your Test environment ?
Joomla 3.x + VM 3.8.x HORME3 PRO(for Testing without any additional Extensions)

stensbo

  • Jr. Member
  • **
  • Posts: 96
Re: Taxes and calculation rules (field Category)
« Reply #14 on: November 20, 2019, 10:37:04 am »
Joomla! 3.9.13 Virtuemart 3.6.8.10197 php 7.3.12

Just made a quick test with + 5,00 EUR for a category - also tested with a mix of calc rules - calculation in cart is working fine but lostmail is right the +5,00 EUR calc rule stay in cart even after clear cache and browser - had to disable calc rule to get rid of it.

Edit: actually all calc rules "per bill" stay in cart if the rule is available for the shopper group you login as a member off..