eldan88 Posted May 5, 2012 Share Posted May 5, 2012 Hi, I am currently developing a food online ordering website which will contain up-sells items when a menu item is clicked on. Lets say for instance there will 4 menu items. When a user will click on any of the 4 items there will be an up sell such as "Add to your email" with meal options they can choose from and add to cart. The up-sells will be the same for all 4 menu items. How can i insert those options once in the database and call them from any of the 4 menu items? Thanks Quote Link to comment Share on other sites More sharing options...
DavidAM Posted May 5, 2012 Share Posted May 5, 2012 Your question is too general (IMO) to actually get the answer you want. Do you mean: How do I put the data into the database? Use the INSERT statement How do I maintain the data? Write an Admin page to add, edit, delete these items How do I structure the data -- do I use another table? We would need to see your database structure How do I make the add-on work? [soapbox]Personally, these add-ons annoy the h@#% out of me, so I'm not even going to address it. If I wanted fried bull testicles with my pizza, I would have clicked on it before I clicked "Checkout"[/soapbox] Sorry ... we would need to know more details on how you want it to work - always show all add-ons, show only one "randomly" selected add-on, show something that actually goes with what they have already ordered, show something they have ordered in the past and maybe forgot to order this time, ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.