Jump to content

Create bundle product


rb10

Recommended Posts

Hi everyone, is it possible to create a bundle containing products with a combination of the following:
shoes ----> choose size and color
socks ----> choose size and color
shirt ----> choose size and color
Will the bundle be priced at the total of the product prices? 
When purchasing, will the individual products be deducted?
What happens if a customer purchases a single product from the bundle?

Link to comment
Share on other sites

I have not tested this, so I am writing from memmory.

The default product pack feature in PS do not allow dynamic price calculation based on the selected combinations. Instead, when creating a pack, you manually choose which specific combinations of products are included. From what I remember, PrestaShop does deduct stock from the exact combinations selected in the pack. Technically PS treats the bundle as a separate product so customers can still buy the bundled products individually as well. Some time ago, I started developing a custom module where I tried to use related products to create a more dynamic bundle. The idea was pretty simple: display related products, let the user choose the desired combinations, and add them to the cart as separate items. It worked, but there were some drawbacks. You can work around this by creating a dummy product that serves as the bundle and use it only to handle the UI allowing users to select variants of related products. I had that concept in my head and even started the module, but it still unfinished due to other priorities.

Link to comment
Share on other sites

5 ore fa, compsoul.dev ha detto:

Non l'ho testato, quindi scrivo a memoria.

La funzionalità predefinita di PrestaShop per i pacchetti di prodotti non consente il calcolo dinamico del prezzo in base alle combinazioni selezionate. Invece, quando si crea un pacchetto, si scelgono manualmente quali combinazioni specifiche di prodotti includere. Da quanto ricordo, PrestaShop deduce le scorte dalle combinazioni esatte selezionate nel pacchetto. Tecnicamente, PrestaShop tratta il pacchetto come un prodotto separato, quindi i clienti possono comunque acquistare i prodotti del pacchetto anche singolarmente. Qualche tempo fa, ho iniziato a sviluppare un modulo personalizzato in cui ho provato a utilizzare prodotti correlati per creare un pacchetto più dinamico. L'idea era piuttosto semplice: visualizzare i prodotti correlati, consentire all'utente di scegliere le combinazioni desiderate e aggiungerle al carrello come articoli separati. Funzionava, ma presentava alcuni inconvenienti. È possibile aggirare il problema creando un prodotto fittizio che funga da pacchetto e utilizzarlo solo per gestire l'interfaccia utente, consentendo agli utenti di selezionare varianti di prodotti correlati. Avevo in mente quell'idea e ho persino iniziato a sviluppare il modulo, ma è ancora incompiuto a causa di altre priorità.

Then with default prestashop setting not possible give to user possibility to chose combination inside the pack ?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...