I have an order form and I would like to add multiple products to an itemized list before it’s submitting. It’s pulling the product list from the product model.
public function actionUpdateAjax($id)
{
// do something with the selected product id
}
I know it’s very incomplete, but a little direction would be very helpful. This seems like something that would need to be commonly done in commerce situations. Perhaps I didn’t use the right vernacular when searching for a tutorial. Anyways, you’re help would be greatly appreciated!
Thanks for the tips. I’ll look over them tonight. I know it’s not going to be easy, but I’d like to make it as painless as possible… if that’s possible haha.
EDIT:
I actually went with a variation of linuor’s thinking. The data isn’t sensitive and I want to keep it even if the user accidentally closes the page. So far it’s working fairly well!