Forum
Multiple products with one buy now button?
Is this possible? I have a wholesaler's section whereby they need to place an order for multiple items. Rather than asking them to add each product one by one, I would like to list all the products on one form with quantity boxes for each. Then they can just add a quantity next to the ones they want and hit the buy now button just once.
Yes, perfectly possible, although you'll need to handle the form submission yourself and make successive calls to
perch_shop_add_to_cart()
to add your products.