Please read my messages carefully. You have overlooked important details I have supplied.
From my third message in this thread:
"I tried adding a property to the $order object (*within the Shipping plugin), but the order information is apparently re-written as a $cart object for the template to use."
The template "
checkout / show_block_default" has no data object which directly corresponds to the plugin's
$order except
$cart, which does not exist in the plugin's data space, and does not appear to carry custom data forward into the template in any identifiable way.
From my most recent message:The process of modifying the "checkout / show_block_shipping" View led me to how I could locate the custom information within the "checkout / show_block_cart" View. (For those following along, after adding the variable to $rate->shipping_details within my custom Shipping plugin, the custom variable could be reached within the variable $cart->shipping[0]->shipping_details ). Screenshot of the rendered details included.
Now that the major issue is put to bed, I still need to find out why my calculated value is not being used to calculate tax (when needed).
I appreciate the suggestion in your last message (though I had already explored and dismissed that avenue), but - as I stated in my most recent message -
I have solved that issue by using the Shipping plugin's
$rates object, and am now
only concerned with the fact that the newly calculated Shipping cost value within my Shipping plugin is transferring correctly to the cart's rendered display,
but is not being used when taxes are calculated, (when needed).
If you'd like, I will start a new thread about that topic.
Regardless, I would appreciate details on the tax calculation process within the Shipping plugin. A list of variables which are involved would be helpful.
Thanks again.