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:
Which version do you mean?
Version 3.4.2...See the vm Demo Page,too.
latest stable is now VM3.6.0 -- but all normal warnings about updating apply of course
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...
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%
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 !!
...and another strange thing:
I have nothing in the cart but the calculation rule is still visible...???
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.
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 ?
VirtueMart 3.6.8 10197 - Rules and Calculation BUG is still alive..(Joomla and VM are Default - no additional Templates/Hacks...)
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).
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.
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.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..