Re: How to NOT show a radio button attribute with item in cart if it's "None"
Originally Posted by
vtstuff
Thanks for the reply.
I'm looking at using Zen Cart for a Pizza ordering app for a company. They / we tried an app on the market and after 6 months of finding bugs, we scrapped it.
Zen Cart is about 80% of the way there already, with some modifications, I think it would work for them, and give them time to see if this even works out.
There could be dozens of attributes for each item, for example, you start with a "Cheese Pizza" and there are a couple dozen Meats, Veggies and Fruits that could be added.
I've worked out a great way to do whole/left half/right half toppings, but the NONE option is tricky.
I don't want 24 toppings listed in an order to show up at the kitchen with ONLY TWO actually needed... ie; Pepperoni & Sausage. They simply do not need to be included with the item at all. I would not want the kitchen to get an order like this:
12" Cheese Pizza
Pepperoni - Whole
Sausage - None
Bacon - None
Meatballs - None
Mushrooms - Whole
Brocolli - Left Half
Onions - None
Peppers - Right Half
Pineapple - None
(You get the picture from there)
I like the thought of just not displaying it, but it also needs to be removed from any emails, printed invoices, downloaded orders, etc. I think that would end up being much more work in the long run.
I'm sure I can figure out code to eliminate the "None" completely, but why reinvent the wheel if somebody else has already figured out a good way to do it.
Sounds like a need for check boxes instead of radio... check box doesn't care if the other is checked or not and only the check one is sent with the ordered item!
Dave
Always forward thinking... Lost my mind!
Bookmarks