![]() |
One page, add multiple quantities, of multiple products
What I'd like to do is have one page with all products listed (I have this already):
I'd like to have a quantity box beside each product that defaults to 0. The user can then go down the list and add a quantity beside any product they want to add. Then go down to the bottom of the list and hit an Add To Cart button. The products with quantities selected would be added to their cart, and they would be transfered into the check out process. Has this been done? Any suggestions on implementation? The list is easy, the transfer of multiple items to checkout is the more difficult aspect. Thanks in advance for any direction. |
good luck with this one, adding multiple items to cart.php is a difficult task, I think funkydunk may have the most insight on this. ;)
|
It will be done, oh yes, it will be done. And if I build it, they will order.
|
Done this mod, so that on the products.tpl page there is a quantity box to fill in and if these are filled in on any product and if any add to cart button is clicked all are added to the cart.
|
Mind sharing :D
|
:lol:
|
Would you please care to reply to this post? I would really like to know how to do this one. It would help me out allot man!
Thanks in advance! -Austin |
okay.....feeling generous today cos it's friday. :D
Note this will work for up to 10 products per page. It is not the most elegant of code but it works and that is what counts really :wink: new customer/main/products.tpl code: Code:
{* $Id: products.tpl,v 1.16.2.2 2002/11/13 07:17:50 alfiya Exp $ *} new php file - customer/addmultiple.php Code:
<?php This will take the customer to the cart at the end of the process. No warranty is given with and PLEASE BACKUP beforehand. |
Your a Saint!
Thanks allot man! |
presume it worked then? :D
|
All times are GMT -8. The time now is 06:14 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.