.. ================================================== .. FOR YOUR INFORMATION .. -------------------------------------------------- .. -*- coding: utf-8 -*- with BOM. .. include:: ../../../../../../Includes.txt .. _administrators_setup_caddy_calculating_servicecosts_basedoneach: 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 ----- .. code:: php 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.