Author Topic: set modifiers to pick x number of y options  (Read 10920 times)

lemmings

  • Full Member
  • ***
  • Posts: 165
set modifiers to pick x number of y options
« on: November 16, 2012, 01:13:44 pm »
Hello

With reference to the following post:

http://forum2.sambapos.org/index.php/topic,237.msg1234.html#msg1234

I would like to implement this with some modifiers, the forums seem to indicate that this is possible ?

I can find no option in Modifier groups, is it hiding anywhere else ?

Thanks
Stephen

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: set modifiers to pick x number of y options
« Reply #1 on: November 16, 2012, 05:07:20 pm »
You'll need to use rules & actions for that. When a user clicks to a modifier "Modifier Selected" rule fires. For example you can execute "remove last modifier" action in that rule if Total Modifier Count is greater than 2. That will cancel last selected modifier so user won't be able to choose more than 2 items. Additionally you can display a message or maybe you can just display a warning and let waiter decide.

As I can remember there was as long thread about this but I can't remember if it was in Turkish or English.

lemmings

  • Full Member
  • ***
  • Posts: 165
Re: set modifiers to pick x number of y options
« Reply #2 on: November 16, 2012, 05:31:34 pm »
Thanks.

I found it about half hour ago. Im just deciding if it should limit user or just display a message as although they want the extras limited to 2 at moment they will always get a customer who will want more !!

I must admit Im getting the hang of the modifiers, actions and rules now !  :)