• Resolved aresioep

    (@aresioep)


    Hi, I’ve created 2 shipping rules one for curier delivery and one for a local pickup option with free shipping, but also I have created a custom function for extra fee when cash on delivery is selected, my problem is that I want to distinguish the 2 options, I want to apply the fee only for the curier option rule and set it to 0 when the rule for local pickup is selected. Is there any way to get the shipping roule method somehow in order to create an if statment ? example if ($chosen_payment_method == ‘cod’ && ‘ Weight Based Shipping method’ )

    <script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>

Viewing 1 replies (of 1 total)
  • Plugin Author Dan

    (@dangoodman)

    Hi, I believe you can distinguish the options by their title or price.

Viewing 1 replies (of 1 total)

The topic ‘Get shipping method’ is closed to new replies.