![]() |
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
|
Also,
I was thinking that I could take something like this and modify it. This is what I was thinking about doing. I want to have it to on certain products where people can click a checkbox to add a product to the existing one. E.G. You goto the product details. You have the "Add to shopping cart" Button with the Qty: Value next to it. I also want to have a checkbox right below it that has it to where you can add another product. Like right below it you would have a check box with a Qty value next to it. By checking it and selecting a QTY Value it will add both the product and the extra product you selected. Can that be done? |
:!: Just wanted to make a side note here for funkydunk, alot of time and effort was more than likely put into this mod as well as others he feels generous enough to post, so just think of it in terms of him saving you development time and money, so the moral of the story is please give something back be it donations, hosting space, etc. as this really encourages funkydunk as well as other developers like myself, shan, and the countless others who help keep the forums rich of code, fixes, and walk throughs.
< steps off soapbox > :D |
blood, sweat and tears m8 :lol:
costs me a fortune when I have generous days :wink: |
sorry to answer the question
Quote:
yep...anything is possible |
Cool,
Well if you can help me out with that I sure can paypal you some money or I could give you space on my new co-location server. Its a new machine Dual Xeon 2.8 100mbit line. Plenty of space. Let me know man! Thanks, |
Thanks for the offer of the hosting but I have my own dedicated servers so wouldn't be needing any extra.
This is possible but I would not be able to do anything with this for a couple of weeks as paying clients always come first and always will...that and i'm moving house so will be out of action for a couple of days. Have a start yourself, really shouldn't be that difficult and should mainly be template changes within the produc.tpl file with changing the location of the form tags and the form action....html stuff really. :D This php script will cope with that input aswell as the multiple add to cart. |
Allright well cool I will get to work on that I will let you guys know how I do.
Thanks, |
Has anyone implemented this mod on a 4.0.x site? If so, any code changes required?
thanks, Glen |
Has anyone know if Funkydunk or Anoack finally implemented this Mod ?
In two years maybe someone else did it. If anyone know about this Mod or something similar, please let me know. I'll be happy to give my $ support. Thanks !! |
Re: One page, add multiple quantities, of multiple products
Any chance someone has this working in 4.0.19? This is exactly what I am looking for.
|
Re: One page, add multiple quantities, of multiple products
I needed the same functionality and was told by xcart that the lite commerce version with the wholesale mod would work, and it does.
|
Re: One page, add multiple quantities, of multiple products
I have never looked at lite commerce. Is there any possibility this could be modified to work with xcart? I already purchased the license for xcart.
|
Re: One page, add multiple quantities, of multiple products
Sorry but I have no idea.
|
Re: One page, add multiple quantities, of multiple products
Hi Guys,
Has anyone managed to get this working on 4.1.7 please? If so could you please be so kind as to post your code. Is funkydunk still around these days? Thanks all Nick |
Re: One page, add multiple quantities, of multiple products
BCSE has a mod where you can add all products listed on each page when browsing a Category.
Alternatively, you can set up a product with variants, and use the Variant Chart module (link in my signature), which shows each variant per row, along with options per variant, and wholesale prices per variant, with ability to add all listed variants to the cart, in whatever qty. |
All times are GMT -8. The time now is 11:23 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.