bentocorp / ios

The customer iOS app
2 stars 0 forks source link

Show "Order Ahead Only" items in On Demand #510

Open vcardillo opened 8 years ago

vcardillo commented 8 years ago

For each menu item that's in OA, but not in OD, show the item in OD, at the bottom of the list, but above "sold out" items, with a banner that says oa-only-od-banner.

Use OAOnlyItems, pictured below, to automatically tell you which items are OA only. If there are no OA Only items, then the array will be empty.

When the item is tapped, the functionality is the same as a sold out item, except the button says oa-only-od-btn

demant commented 8 years ago

How many characters can we fit on that banner?

On Feb 17, 2016, at 4:22 PM, Vincent Cardillo notifications@github.com wrote:

Look at the menu items for OA. For each menu item that's in OA, but not in OD, show the item in OD, at the bottom of the list, but above "sold out" items, with a banner that says oa-only-od-banner.

— Reply to this email directly or view it on GitHub.

vcardillo commented 8 years ago

Joseph pointed out the problem that he can't compare items past 10am/3pm, because the OA menu goes away. In response, I've added OA only items to a special place in the existing OD menu JSON:

screen shot 2016-02-18 at 12 38 02 pm

Now you can just use this to directly augment as described above. No need to even compare anymore.

On dev.

vcardillo commented 8 years ago

There isn't room on the banner, so I've suggested to Joseph to just run the banner across the top of the item. cc @xkokushox

josephlausf commented 8 years ago

How's this: http://recordit.co/f2lDyv1HFH

vcardillo commented 8 years ago

Looks good. But you are using the wrong copy for the banner. Use oa-only-od-banner. I think you are using the btn.

josephlausf commented 8 years ago

Oh yeah, fixed -> http://recordit.co/6FX9929wav

vcardillo commented 8 years ago

Kewl and sorry, one last thing, I changed it to "Available Only with Order Ahead". Can you make sure it fits okay?

josephlausf commented 8 years ago

got it -> http://recordit.co/dcJuJaXchP

vcardillo commented 8 years ago

:+1: