shipping function - Displaying the discount in the shipping methods table

Shopify Partner
4 0 2

I wrote shipping function that gives a 100% discount on shipping for logged-in users
the total price calculated the discount.
but I want to display the discount in the shipping method table
Is it possible?

Reply 1 (1)

Shopify Partner
283 14 78

Not with Functions directly AFAIK. It pretty much just appears in the checkout above the order total.