Search the Community
Showing results for tags 'user action'.
Hey Guys, I've been working with Processwire for a while now but mostly only showed the content that was set in the back-end of Processwire by the site admin. Now I would like to store information but I find it hard to figure out where to start. The problem is dat Processwire uses PHP to get and set new values, which is only a server side language. What i want to do is have variables set bases on user behavior. The Case: I'm building a really small site that sells two items. A have a product page where people can insert a quantity of the item in a form input field and than click add to cart. http://www.hayplaybag.com/producten However I have no clue how to convert that information into say, a global variable or a field on the checkout page so that I could read it again on the shopping cart page and present the amount they ordered. How would you guys go about doing such things? I would love to hear your thoughts Thanks! Bram