Templates(Pricing) nested
Submitted by Ascot_Vet_Surgery on Fri, 29/07/2022 - 14:17
I have also noted that when nesting templates the print rules are not adhered to
EG
I have an
Anaesthetic - Indcuction template (it includes 10 items) but the print box is cleared on all items and set to print an aggregate.
I have a dental template
It includes the above induction template pluse 2 other items
It is set to print each item and not aggregate
The current behaviour is the aggregation is lost on the included induction template.
I would have thought this unintended.
Re: Templates(Pricing) nested
This is the expected behaviour. When a template includes another template, the root template determines aggregation.
If it was the nested template, it wouldn't be possible to:
In other words, expanding a template flattens the template heirarchy. The original template that a product was included from is lost, replaced with that of the root template.