I have a requirement to add an amount to the total of all Commerce product lines items in a users cart and then add that amount to the shipping amount.
The rule I currently have uses the "calculating a shipping rate" event. The element on the rule uses "Calculate a value" with the input value as commerce-line-item:order:commerce-order-total:amount. However, this value also takes into account the shipping. I only want to apply the calculation to the ordered items in the cart - not shipping as well.
Does anyone know how I can access just the subtotal for the cart?