Hi,
I'm constructing an ecommerce application in Symfony, and I have a page which lists the products within a specific category, eg at the URL "/categories/list/id/1":
Product 1 Product 2 ...
I'd like to have something of the form:
Product 1 * Add [ 1 ] of these to your shopping cart [Go] Product 2 * Add [ 1 ] of these to your shopping cart [Go]
on the same page, so I presume I'm going to need to derive from the sfForm class and construct my own form, as the automatically-generated forms have been. Should this be named according to the categories model? Or would it be more appropriate to be named according to the "cart" model (where my shopping cart will be stored)? and how would this link into eg my listProductsByCategorySuccess.php template?
Hope the above makes sense!
Thanks,
-rich