Score:1

Always charge the most expensive flat rate shipping in an order

vn flag

I have a Drupal Commerce site with two product types. One has free shipping, and the other costs € 3,-. When both products are in the cart, the customer is allowed to choose either of those rates, which is not what I want.

I want to disable the free shipping rate when the second product type is in the shopping cart. On shipping calculation the most expensive shipping should be calculated.

In shipping conditions, there is no way to set separate rules for two product types, to negate a product type or to use an AND operator on product types.

I found answers for Drupal 7, but Drupal Commerce for Drupal 8/9 is completely different.

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.