Based on Each

With this rule you can calculate one of your service costs depending on the total quantity of all products. The quantity will be multiplied by the price you set for each product.

Setup

plugin.tx_caddy_pi1 {
        api {
                options {
                        ...
                        shipping {
                                options {
                                        1 {
                                                title = Standard
                                                extra = each
                                                extra {
                                                        1 {
                                                        extra = 2.00
                                                        }
                                                }
                                                tax = normal
                                        }
                                        ...
                                }
                        }
                }
        }
}

In the example above we configure a special shipping rule for each product. There is one shipping method called “Standard”, the normal tax will be applied.

  • The shipping costs will be 2.00 for each product in your cart.
  • If you have got 10 products in your cart (total quantity) the shipping will be 20.00.