We need a rule that adds shipping to an order based on a custom field in the product type "add artwork for sale" The field is "shipping type". Currently there are only two choices for the field ("rolled in tube" and "shipped flat").
We need a rule (or other method) that checks this field during checkout and adds an amount depending on which option is chosen. Also when we add other options we need the rule to auto magically check for this.
The issue appears to be that the custom field is not available to rules that access the commerce order. Some problems associated with this issue are discussed here: [url removed, login to view]
To attempt a work around, I created a rules component named, "rolled shipping". This component works with the rule "test of component". However this rule does not trigger on the calculate shipping event. Also, the calculate shipping rule named "shipping test" will work without the conditions. However, conditions are needed to check for the shipping type.
So the issue appears to be how to find some way to make the "shipping-type" variable available in a cart order. To test the rule, you can add a painting to the cart and hit checkout.