What the Project Involved?
WooCommerce Store Customization
Composite Products Customization
What were the Client’s Requirements?
The client needed his WooCommerce store customized for Composite Products. The price of the composite product had to be dynamically adjusted, based on variable prices of selected items, along with items which had a fixed cost.
How did We Provide a Solution?
The WooCommerce Composite Products extension allows users to dynamically select products from a given set of options, to create and purchase an individual composite product. The default functionality of the Composite products extension, allows us to set the price of the product based on individual components. There are two options provided. One option calculates the product price dynamically based on the price of the individual component selected. While, the other option sets a specific price for each component, which will be applied irrespective of the individual component selected. But these two options are exclusive of each other. In a single composite product, we do not have the option to set certain individual components as fixed price components, while allowing the price of others, to be set dynamically, based on which component is selected. But the client needed to provide his customers, such an option, in his WooCommerce store.
To explain, the client sold pet accessories. A composite product on sale, was a box of 3 items. He needed two items out of the three, to have a fixed price, while the price of the third item would depend on the individual selection made by a customer. To achieve this, we customized the Composite Products Extension plugin. In the Composite Product Settings, there is an option ‘Per-Item Pricing’, which decides whether the price will depend on per component selected or will be fixed per component.
We provided this option at every component level of a Composite Product, which decided whether the value would be a fixed price, or dynamic based on the item. This customization allowed the client to keep some components at a fixed price, while some would have a variable price.