Score:0

How to implement conditional shipping costs?

cn flag

I am running Drupal 8 with Commerce 2.

I have a flat-rate shipping option set up for multiple regions and I now need to increase the shipping costs under certain circumstances, eg.:

  • Order contains a specific product but not another specific product
  • Order contains a product from any category except a specific one
  • Order contains products from a certain category totaling over price x

The "rules" in the shipping method itself are simply not enough to fit my needs.

How would I go about implementing such custom shipping rules?

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.