Building a product from elements or components

  • Posts: 12
  • Thank you received: 0
11 years 9 months ago #122618

We are looking for an ability to build a product from several components and set the price accordingly. Probably the best way to explain this is to give an example.

Let's say that we want to add a product called "Cutlery Set", that can be made up of any number of knives, forks, spoons and placemats.

Rather than offering these in a set combination, or forcing people to order the quantities from 4 different products, we want to be able to offer this as one product, but then have the ability for people to choose how many they want of each item, and then set the price accordingly. Ideally they would be able to choose the quantities of each item by entering a number, rather than having to select from a dropdown. We would be able to set the price per each item, and thus generate the price of the overall product.

Currently it is possible to set the items using the Characteristics, but it is not possible to choose different quantities of each characteristic. Someone might want:

Knives x 6
Forks x 6
Spoons x 10
Placemats x 4

to make up their version of "Cutlery Set".

Can you see any way of doing this with the current system, or do you have any idea of what it would take to create something like that?

Please Log in or Create an account to join the conversation.

  • Posts: 83992
  • Thank you received: 13604
  • MODERATOR
11 years 9 months ago #122635

Hi,

Using options ( www.hikashop.com/support/documentation/i...ct-form.html#options ) you could create one option dropdown per cutlery type and then for each type the dropdown would contain a quantity list so that the customer could choose the number of knives, forks, etc.

If you really want quantity fields for each type, then you can use a custom item field of the type "text" for each type (you can create them via the menu Display>Custom fields) and then create a product quantity price calculation override plugin to set the price of the products based on the value entered by the user in each custom item field. It requires that a developer do that for you but for a developer it shouldn't be complex to do. We provide a small documentation on that here:
www.hikashop.com/support/documentation/6...tation.html#override
And an example of such plugin here: demo.hikashop.com/index.php?option=com_h...show&cid=214&lang=en

Please Log in or Create an account to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum