Hello fellow Zenners,
I'm trying to build a round up donation module that will ask the visitor if they want to donate an additional $4.25 if their order total is $25.75, for example. It's going to show up as a line-item on the shopping cart page and will have a button they can click to add my already existing Donation product type to the cart. My question is: what's the right technique for adding products to the cart from the shopping cart page? I've tried a few approaches:
- Creating a hyperlink back to the product page with action=add_product (didn't work, I don't know why)
- Creating a form on the shopping cart page with the required fields that submits back to the product page (didn't work because there is already a form defined on the cart page)
I was wondering if cart_actions are the place to look.
Thanks for your help,
Kevin
Bookmarks