Pietro "m0nt0" Montorfano wrote:
Well, may be that i missed the answer but someone asked if the discount and the extra stuff are applied only to the 10 pack or it could also be a 12 pack?
So to let you understand the condition is:

if (phones_ordered == 10)
    do_the_10_pack_trick();


More like:

if (phones_ordered && phones_ordered % 10 == 0)
        do_the_10_pack_trick();

Steve has already mentioned on the list that ordering 11 phones means getting a bulk discount on the 10-pack, but paying full price on the stray 11th phone.

-id

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to