![]() |
Add to Cart With Radio buttons |
Post Reply ![]() |
Author | |
gordo ![]() Newbie ![]() Joined: 09-April-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 06-May-2008 at 11:08am |
We have are selling products and also extended warranties for these products. I have customized PC to find these additional warranties and display them on the product page (ViewPrdCode.asp). I would like to add an additional "Add To Cart" button on that page and display these add-on warranties with radio buttons. When the desired radio button is selected and the add to cart button is clicked, that warranty will be added to the cart.
I have tried making the "idproduct" name as the radio button (and obviously it is not hidden), making the "qty" hidden, but I have not had any success. Can anyone point me in the right direction? Thanks. |
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
We recently added an article on "adding to the cart" using links and forms on the new ProductCart WIKI (which is still a work in progress). This should help you in your efforts. You will just need to adjust the form code to account for the fact that you are using a radio button. The product id should be the "value" in your RADIO field.
http://wiki.earlyimpact.com/how_to/add_to_cart In fact, you could contribute to that article on the WIKI by posting about using a radio button to add a product to the cart. We created the WIKI exactly for this reason: allowing everyone involved with ProductCart to share their knowledge. Edited by earlyimp - 06-May-2008 at 11:21am |
|
![]() |
|
gordo ![]() Newbie ![]() Joined: 09-April-2008 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Arghhh....
As it turns out, I was trying to create a new form inside the existing "Add to Cart" form. I moved the closing form tag ahead of my new code and it worked perfectly. When I get some time, I'll add a section to the Wiki for radio buttons. Thanks! |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |