Score:0

Buying an amount of product X must add a product Y

jp flag

I have a shop where a product (lawn/turf) can only be bought with an additional package (Europalette). When users buy 1-50 items there must be one Europalette packaging automatically added into the cart. If the amount is 51-100, two Europalette packages must be added.

Europalette is also a product the users buy. So both have to be combined as explained before.

I tried the Pado and Vado modules, but I can't get them to work. I also tried the Rules module, but there are no right rules for commerce.

I can't put it into shipping because it has to be a product; some users keep the Europalette packages and some will bring them back and get a refund.

Alex Misgin avatar
jp flag
No hint so far ;(
Alexdezark avatar
br flag
What is your Drupal version ? With Drupal 8, 9, or 10, it should be easier to use the cart event subscriber.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.