Shipping script only runs when there are multiple items in cart

Hi @KolbySisk ,

Did you select “line_item” as the type of script in Script Editor? Also at which point do you apply the discount because without a discount the remainder of the code would have never executed.

Best,

Sam