I think you should create an automation using Event “Order Added to Ticket” and in there you should use Update Order Action to adjust the price when the total quantity of beers is 6.
Ive done something similar here
If you are new to SambaPOS, this will probably be a bit of trial and error