Write a plugin that makes custom fields available in the rules (summed/max/min/...?)
|Created on||11.11.2014 17:36|
Once we have a plugin system for the Shipping by Rules plugin, we can write a plugin that gives access to the custom fields assigned to the products in the cart.
As the shipping plugin works on the whole cart (rather than giving shipping costs per individual product), it makes only sense to give
-) A list of all custom field values of all products
-) the max / min of certain custom field values
-) the sum of certain custom field values