Forum Moderators: coopster
Now I want users to be able to record which products interest them, so that when they reach the message form, those products come back up, and are sent automatically, within the message. So basically, like a shopping cart, but without the on-line purchase aspect.
But I'd like to do this without reloading the page, as I've seen done on some shopping sites. I'd also like the list of recorded products to appear in the upper-right corner on the page. In other words, I click on a "this interests me" button, and the said item is added to a visible list in the upper right corner. At the same time, it's recorded (in a session variable?) so that the list is shown from page to page, and of course appears on the message form.
What's the best approach to this?
Now that's fine for something like stats that are not mission-critical as far as the site is concerned - but how about this present situation? I mean this has to work for the site to be functional. Could I similarly, say, javascript-trigger a reload of an "image" that would actually be a php script managing my session variable?
Is this just plain stupid?