If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Question about adding products to my cart from the shopping cart page

Question about adding products to my cart from the shopping cart page

Locked

Started by audleman on 17 Oct 2009, 5:01 PM · Views: 1,114

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Oct 2009, 5:01 PM
#1
audleman avatar

audleman

New Zenner

Join Date:
Jul 2007
Posts:
69
Plugin Contributions:
0

Question about adding products to my cart from the shopping cart page

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:

  1. Creating a hyperlink back to the product page with action=add_product (didn't work, I don't know why)
  2. 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

31 Aug 2010, 6:37 AM
#2
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Question about adding products to my cart from the shopping cart page

Hi there, I am trying to do something very similar. Did you ever get this working?

Thanks!

Danielle