#NEWLINE# def add_extra_cart_row( self , cart , request ) : #NEWLINE# #INDENT# if ( ( not self . is_active ( cart ) ) and ( len ( cart_modifiers_pool . get_shipping_modifiers ( ) ) > 1 ) ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# amount = Money ( '5' ) #NEWLINE# instance = { #NEWLINE# #INDENT# 'label' : _ ( 'Shipping costs' ) , #NEWLINE# 'amount' : amount , #NEWLINE# #UNINDENT# } #NEWLINE# cart . extra_rows [ self . identifier ] = ExtraCartRow ( instance ) #NEWLINE# cart . total += cart