Hello,
I'm looking for ways to implement an e-commerce for an organic farmer who sells their products, he offers products and product kits. Every product kit has its own price. Each kit are predefined products group. But I want that when the user buys, can unchoose at most, two products of the kit and change them for another product in a predefined group of products.

I wonder if anyone knows how I can work this way the product kit. I installed Ubercart but product kit doesn't work in this way I want. I've been searching but I can't find anything to do this.

Any idea or clue is welcome!

Comments

ferriol created an issue. See original summary.

TR’s picture

Status: Active » Fixed

You're going to have to write some custom code for this, but it's certainly something you can do. (Kits are mainly designed for pre-packaged bundles.) There are many ways you can accomplish this, depending on your needs. Assuming you have very complicated rules as to what can be in the kit and how that affects pricing etc., the most flexible way might be to code a regular form for the customer to select what's in the "kit" (quotes here because we're not taking about an Ubercart Product Kit, we're talking about your box of items). You can make this as fancy as you want, with JavaScript drag-and-drop and Ajax callbacks to dynamically change the available options etc. To make sure the selections are treated as one item in the cart, I would define a product (not kit) with attributes for each of the fruits/vegetables/etc. selections, but don't make this product page accessible to the customer - you don't want the customer to go and change the attributes except through your form. Then the form submit button could just be a Cart Link which adds the product to the cart with the attributes determined by your form.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.